<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1038969" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1038969</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-design-and-graphics/aligning-divs-or-text-blocks-horizontally#comment-1221635</link>
    <description> &lt;p&gt;my bad.. corrected now...&lt;/p&gt;
 </description>
     <pubDate>Sat, 14 Jul 2007 04:18:10 +0000</pubDate>
 <dc:creator>demonhale</dc:creator>
 <guid isPermaLink="false">comment 1221635 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-design-and-graphics/aligning-divs-or-text-blocks-horizontally#comment-1221634</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote: An alternate way of doing this is through this css... It will generally work the same way... and less bulk...&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;That makes the sections vertical.&lt;/p&gt;
 </description>
     <pubDate>Sat, 14 Jul 2007 03:48:30 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1221634 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-design-and-graphics/aligning-divs-or-text-blocks-horizontally#comment-1221624</link>
    <description> &lt;p&gt;An alternate way of doing this is through this css... It will generally work the same way... and less bulk...&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;#packages {&lt;br /&gt;width: 210px;&lt;br /&gt;padding: 0px 12px 5px 12px;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;#packages.left {&lt;br /&gt;float: left;&lt;br /&gt;background:#fff url(/images/darkgrey.png) repeat-x;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;#packages.centre {&lt;br /&gt;float: left;&lt;br /&gt;background:#fff url(/images/bronze.png) repeat-x;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;#packages.right {&lt;br /&gt;float: left;&lt;br /&gt;background:#fff url(/images/brownorange.png) repeat-x;&lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;Then in your html it could go like this...&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;div id=&amp;quot;packages&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class=&amp;quot;left&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class=&amp;quot;centre&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class=&amp;quot;right&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
 </description>
     <pubDate>Sat, 14 Jul 2007 01:37:44 +0000</pubDate>
 <dc:creator>demonhale</dc:creator>
 <guid isPermaLink="false">comment 1221624 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-design-and-graphics/aligning-divs-or-text-blocks-horizontally#comment-1221589</link>
    <description> &lt;p&gt;Yes, you have to clear the floats with something.  In my example, I used a .  A  will work as well.&lt;/p&gt;
 </description>
     <pubDate>Fri, 13 Jul 2007 13:29:50 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1221589 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-design-and-graphics/aligning-divs-or-text-blocks-horizontally#comment-1221581</link>
    <description> &lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;I just wanted to be sure. &lt;/p&gt;
&lt;p&gt;I often do something then learn later that my 25 lines of &#039;elseif&#039; code can be done with a single pre-programmed PHP function that I didnt know about &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/eyeroll.png&quot; title=&quot;Roll eyes&quot; alt=&quot;Roll eyes&quot; class=&quot;smiley-content&quot; /&gt; &lt;/p&gt;
&lt;p&gt;in fact in this instance maybe&lt;br /&gt;
I have each one seperate:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;#packageleft {&lt;br /&gt;float: left;&lt;br /&gt;width: 210px;&lt;br /&gt;background:#fff url(/images/darkgrey.png) repeat-x;&lt;br /&gt;padding: 0px 12px 5px 12px;&lt;br /&gt;}&lt;br /&gt;#packagecentre {&lt;br /&gt;float: left;&lt;br /&gt;width: 210px;&lt;br /&gt;background:#fff url(/images/bronze.png) repeat-x;&lt;br /&gt;padding: 0px 12px 5px 12px;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;#packageright {&lt;br /&gt;float: left;&lt;br /&gt;width: 210px;&lt;br /&gt;background:#fff url(/images/brownorange.png) repeat-x;&lt;br /&gt;padding: 0px 12px 5px 12px;&lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;Then call each id seperately as normal&lt;br /&gt;
....etc&lt;/p&gt;
&lt;p&gt;I thought that to make them all 210px I would need them seperate&lt;br /&gt;
But if I made as you say, everything except the background image in one id&lt;br /&gt;
#packages_all { or whatever&lt;/p&gt;
&lt;p&gt;and I wrap them all in that one div, will all the seperate package blocks be 210px?&lt;/p&gt;
&lt;p&gt;And the only way I could get { clear: left} to work properly was using this after those three packages:&lt;/p&gt;
&lt;p&gt;Now that cant be the best way of doings things either!?&lt;/p&gt;
&lt;p&gt;Off-topic:&lt;br /&gt;
&quot;there&#039;s no place like 127.0.0.1&quot;&lt;br /&gt;
I have never seen that anywhere before&lt;/p&gt;
&lt;p&gt;Sadly, I find it quite amusing &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/big.png&quot; title=&quot;Laughing out loud&quot; alt=&quot;Laughing out loud&quot; class=&quot;smiley-content&quot; /&gt; &lt;/p&gt;
&lt;p&gt;Cheers!&lt;/p&gt;
 </description>
     <pubDate>Fri, 13 Jul 2007 05:35:28 +0000</pubDate>
 <dc:creator>greg</dc:creator>
 <guid isPermaLink="false">comment 1221581 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-design-and-graphics/aligning-divs-or-text-blocks-horizontally#comment-1221572</link>
    <description> &lt;p&gt;Div tags and floating would be the best way.&lt;/p&gt;
&lt;p&gt;Something like this:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;style&amp;gt;&lt;br /&gt;.main {&lt;br /&gt;	display: block;&lt;br /&gt;	width: 300px;&lt;br /&gt;	float: left;&lt;br /&gt;	margin: 0 10px 10px 0;&lt;br /&gt;}&lt;br /&gt;.packagecenter {&lt;br /&gt;	background-color: #eeeeee;&lt;br /&gt;}&lt;br /&gt;.packageleft {&lt;br /&gt;	background-color: #eeeeee;&lt;br /&gt;}&lt;br /&gt;.packageright {&lt;br /&gt;	background-color: #eeeeee;&lt;br /&gt;}&lt;br /&gt;&amp;lt;/style&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;div class=&amp;quot;main packageleft&amp;quot;&amp;gt;&lt;br /&gt;	Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vestibulum aliquam nisi id augue.&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;div class=&amp;quot;main packagecenter&amp;quot;&amp;gt;&lt;br /&gt;	Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vestibulum aliquam nisi id augue.&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;div class=&amp;quot;main packageright&amp;quot;&amp;gt;&lt;br /&gt;	Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vestibulum aliquam nisi id augue.&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;br style=&amp;quot;clear: both; &amp;quot; /&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;p&amp;gt;This will be on a new line.&amp;lt;/p&amp;gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 13 Jul 2007 01:57:53 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1221572 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-design-and-graphics/aligning-divs-or-text-blocks-horizontally#comment-1221569</link>
    <description> &lt;p&gt;Thats an applicable method using three different div containers to position sections, since you said different backgrounds then it would be necessary to have three different css classes for different backgrounds.&lt;/p&gt;
 </description>
     <pubDate>Fri, 13 Jul 2007 01:36:26 +0000</pubDate>
 <dc:creator>demonhale</dc:creator>
 <guid isPermaLink="false">comment 1221569 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
