﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebCombo - Problem with CSS Positioning</title><link>http://www.intersoftsolutions.com/Community/WebCombo/Problem-with-CSS-Positioning/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Problem with CSS Positioning</title><link>http://www.intersoftsolutions.com/Community/WebCombo/Problem-with-CSS-Positioning/</link><pubDate>Thu, 07 Jan 2010 20:49:32 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><category>WebCombo CSS float</category><description>&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Hi James,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; Thank you for giving and sharing the information. I believe it will help the other when they encounter the same issue that you had and please, do not hesitate to ask if you have any other questions.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Andi Santoso&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Problem with CSS Positioning</title><link>http://www.intersoftsolutions.com/Community/WebCombo/Problem-with-CSS-Positioning/</link><pubDate>Thu, 07 Jan 2010 12:30:00 GMT</pubDate><dc:creator>jamesmh2000</dc:creator><category>WebCombo CSS float</category><description>&lt;p&gt;Hi Andi,&lt;/p&gt;
&lt;p&gt;I thought I'd let you know a colleague of mine came up with a simpler solution - seting "float:left" in the style for the data column in addition to the label column. This avoids the need to set the FrameStyle on the WebCombo. My colleague also noticed that the alignment problem only occurred in IE and not in Firefox.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;James&lt;/p&gt;</description></item><item><title>Problem with CSS Positioning</title><link>http://www.intersoftsolutions.com/Community/WebCombo/Problem-with-CSS-Positioning/</link><pubDate>Mon, 04 Jan 2010 20:27:11 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><category>WebCombo CSS float</category><description>&lt;p&gt;&lt;span style="font-size: 9pt"&gt;Hi James,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Glad to hear that it works nicely, please do not hesitate to ask if you have any other questions. Thank you.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;Andi Santoso&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Problem with CSS Positioning</title><link>http://www.intersoftsolutions.com/Community/WebCombo/Problem-with-CSS-Positioning/</link><pubDate>Mon, 04 Jan 2010 07:52:34 GMT</pubDate><dc:creator>jamesmh2000</dc:creator><category>WebCombo CSS float</category><description>&lt;p&gt;Hi Andi,&lt;/p&gt;
&lt;p&gt;That works nicely for the float alignment, thanks. &lt;/p&gt;
&lt;p&gt;I guess if I want to use a mixture of float-based alignment and table-based alignment I'll have to use different styles for the WebCombos, based on where they are placed.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;James&lt;/p&gt;</description></item><item><title>Problem with CSS Positioning</title><link>http://www.intersoftsolutions.com/Community/WebCombo/Problem-with-CSS-Positioning/</link><pubDate>Mon, 04 Jan 2010 01:31:05 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><category>WebCombo CSS float</category><description>&lt;p&gt;&lt;span style="font-size: 9pt"&gt;Hi James,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;&amp;nbsp;&amp;nbsp; I have created another CssClass to be used by the WebCombo. Here are the sample code of CssClass:&lt;/span&gt;&lt;/p&gt;&lt;pre&gt; .borderClass
        {
            border-color:#286A9B;
            border-bottom-style:solid;
            border-bottom-width:1px;
            border-left-style:solid;
            border-left-width:1px;
            border-right-style:solid;
            border-right-width:1px;
            border-top-style:solid;
            border-top-width:1px;
            margin-left:3px;
            margin-bottom:3px;
            margin-right:3px;
            margin-top:3px;
            
            
    }&lt;/pre&gt;

&lt;p&gt;   &lt;span style="font-size: 9pt"&gt; And here is the HTML code for the WebCombo:&lt;/span&gt;&lt;/p&gt;&lt;pre&gt; &amp;lt;ISWebCombo:WebCombo ID="WebCombo1" runat="server" UseDefaultStyle="true" &amp;gt;
            &amp;lt;LayoutSettings AllowFloatingText="false" &amp;gt;
                &amp;lt;framestyle&amp;gt;
                   &amp;lt;Normal CssClass="borderClass"&amp;gt;                                     
                   &amp;lt;/Normal&amp;gt;
                   &amp;lt;Over CssClass="borderClass"&amp;gt;       
                   &amp;lt;/Over&amp;gt;
                   &amp;lt;Active CssClass="borderClass"&amp;gt;    
                   &amp;lt;/Active&amp;gt;
                &amp;lt;/framestyle&amp;gt;    
            &amp;lt;/LayoutSettings&amp;gt;
        &amp;lt;/ISWebCombo:WebCombo&amp;gt;&lt;/pre&gt;

&lt;p&gt;   &lt;span style="font-size: 9pt"&gt; I hope it helps and please, do not hesitate to ask if you have any other questions. Thank you.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;Best Regards,&lt;br /&gt;Andi Santoso&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Problem with CSS Positioning</title><link>http://www.intersoftsolutions.com/Community/WebCombo/Problem-with-CSS-Positioning/</link><pubDate>Tue, 29 Dec 2009 09:01:46 GMT</pubDate><dc:creator>jamesmh2000</dc:creator><category>WebCombo CSS float</category><description>&lt;p&gt;Hi Andi,&lt;/p&gt;
&lt;p&gt;Thanks for your reply - it has solved part of the problem.&lt;/p&gt;
&lt;p&gt;The controls that come after the WebCombo now appear on the next line (even though the Visual Studio 2008 designer still wrongly shows them on the same line).&lt;/p&gt;
&lt;p&gt;However the left-alignment of the WebCombo is still off by a couple of pixels compared to the other controls. Adding margins to the WebCombo doesn't seem to work too well, and anyway the alignment works fine in a table so I don't think this should be necessary.&lt;/p&gt;
&lt;p&gt;I am testing with IE6 as this is still my company's standard. Any further suggestions greatly appreciated.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;James&lt;/p&gt;</description></item><item><title>Problem with CSS Positioning</title><link>http://www.intersoftsolutions.com/Community/WebCombo/Problem-with-CSS-Positioning/</link><pubDate>Mon, 28 Dec 2009 23:11:13 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><category>WebCombo CSS float</category><description>&lt;p&gt;&lt;span style="font-size: 9pt"&gt;Hi James,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; It occurs because on the WebCombo, there is a property called AllowFloatingText and by default it will set to true. I have tried you sample and set the AllowFloatingText to False and it works fine. Here are the sample code:&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&lt;span style="font-size: 9pt"&gt;&amp;lt;ISWebCombo:WebCombo ID="WebCombo1" runat="server" UseDefaultStyle="true" LayoutSettings-	   AllowFloatingText="False"&amp;gt;
&amp;lt;/ISWebCombo:WebCombo&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I hope it helps and please do not hesitate to ask if you have any other questions, thank you.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;Andi Santoso&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Problem with CSS Positioning</title><link>http://www.intersoftsolutions.com/Community/WebCombo/Problem-with-CSS-Positioning/</link><pubDate>Mon, 28 Dec 2009 13:40:23 GMT</pubDate><dc:creator>jamesmh2000</dc:creator><category>WebCombo CSS float</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I would like to start using CSS to position controls rather than my company's current default of absoute positioning, however I'm having trouble aligning WebCombo with standard ASP.NET / HTML controls.&lt;/p&gt;
&lt;p&gt;I'm creating a simple form with one column for field label and a second for the associated control. If I use the following CSS to define the label column, then the WebCombo does not lign up with the other controls.&lt;/p&gt;&lt;pre&gt;        .labelUsingFloat
        {
	        display: block;
	        float: left;
	        width: 13em;
        }
&lt;/pre&gt;
&lt;p&gt;Also, each pair of label and data is surrounded by a div element, which I would expect to cause any subsequent pair of label and data to go to the next line, however this is not the case with a div that contains a WebCombo.&lt;/p&gt;
&lt;p&gt;When I format the labels and controls using a table then everything is nicely aligned and looks correct, but I don't want to have to use a table!&lt;/p&gt;
&lt;p&gt;Can anybody help? I'm using Visual Studio 2008 with Web UI Studio 2009.&lt;/p&gt;
&lt;p&gt;Example page attached.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item></channel></rss>