<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Client Side Web Development</title><link>http://forums.asp.net/130.aspx</link><description>Client-side programming discussions, including CSS, DHTML, JScript/Javascript, etc. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=18&amp;c=16" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: css to layout little blocks of information in a flowing way</title><link>http://forums.asp.net/thread/2347972.aspx</link><pubDate>Fri, 09 May 2008 11:55:26 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2347972</guid><dc:creator>DarthSwian</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2347972.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=2347972</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;You&amp;#39;d want the item wrapper to float left and put THAT in a div, everything will move to the next row if there isn&amp;#39;t enough room in the containing div for the next item.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>css to layout little blocks of information in a flowing way</title><link>http://forums.asp.net/thread/2347294.aspx</link><pubDate>Fri, 09 May 2008 06:02:48 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2347294</guid><dc:creator>bboyle1234</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2347294.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=2347294</wfw:commentRss><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;I think I may have given myself a hint to my answer when I used the word &amp;quot;flow&amp;quot; in the title above, but please help me with this problem: &lt;/p&gt;
&lt;p&gt;I have a repeater spitting out items that look like this: &lt;/p&gt;&lt;pre class="coloredcode"&gt;&amp;lt;&lt;span class="tag"&gt;style&lt;/span&gt;&amp;gt;

/* these two items should be side by side */

.itemInfo
{
    width: 80px;
    float: left;
}

.itemDescription
{
    width: 80px;
    float: left;
}

&amp;lt;/&lt;span class="tag"&gt;style&lt;/span&gt;&amp;gt;

&amp;lt;&lt;span class="tag"&gt;div&lt;/span&gt;&lt;span class="attr"&gt; class=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;itemWrapper&amp;quot;&lt;/span&gt;&amp;gt;
    &amp;lt;&lt;span class="tag"&gt;div&lt;/span&gt;&lt;span class="attr"&gt; class=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;itemInfo&amp;quot;&lt;/span&gt;&amp;gt;
        itemName&amp;lt;&lt;span class="tag"&gt;br&lt;/span&gt; /&amp;gt;
        itemTimeStamp&amp;lt;&lt;span class="tag"&gt;br&lt;/span&gt; /&amp;gt;
        &amp;lt;&lt;span class="tag"&gt;img&lt;/span&gt;&lt;span class="attr"&gt; src=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;tinyImage1.png&amp;quot;&lt;/span&gt; /&amp;gt;&amp;lt;&lt;span class="tag"&gt;img&lt;/span&gt;&lt;span class="attr"&gt; src=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;tinyImage2.png&amp;quot;&lt;/span&gt; /&amp;gt;
    &amp;lt;/&lt;span class="tag"&gt;div&lt;/span&gt;&amp;gt;
    &amp;lt;&lt;span class="tag"&gt;div&lt;/span&gt;&lt;span class="attr"&gt; class=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;itemDescription&amp;quot;&lt;/span&gt;&amp;gt;
        sample item description
    &amp;lt;/&lt;span class="tag"&gt;div&lt;/span&gt;&amp;gt;
&amp;lt;/&lt;span class="tag"&gt;div&lt;/span&gt;&amp;gt;
&lt;/pre&gt;&amp;nbsp;&lt;br /&gt;&lt;pre class="coloredcode"&gt;These items are to go inside a &amp;lt;div&amp;gt; which is 500px wide. Each item is exactly 130px wide.&lt;/pre&gt;
&lt;p&gt;I want them to be displayed in vertically-aligned rows, two to each row, spaced nicely to fill the 500px-wide container.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Can you help me figure out how to get these things to flow nicely into the structure? If the container widens to 800px, for example, they should fill up 3 or 4 to a row depending on their width and margin attributes.&lt;/p&gt;
&lt;p&gt;Thank you in advance, &lt;/p&gt;
&lt;p&gt;Ben&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>