<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1046702" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1046702</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Do not set a width of
Set up</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/css-problem-making-simple-box#comment-1249610</link>
    <description> &lt;p&gt;Do not set a width of&lt;br /&gt;
Set up padding  Automatically adapt width,float left  or  right&lt;/p&gt;
 </description>
     <pubDate>Wed, 26 May 2010 08:43:14 +0000</pubDate>
 <dc:creator>Ricechen</dc:creator>
 <guid isPermaLink="false">comment 1249610 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>For those of you that haven&#039;t</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/css-problem-making-simple-box#comment-1249586</link>
    <description> &lt;p&gt;For those of you that haven&#039;t seen it, you can make boxes that look like the following (or better/worse) with this technique. The neat thing is that they expand and shrink automatically to fit your content and the XHTML markup is really light:&lt;br /&gt;
Sample Simple Rounded Corner CSS box&lt;/p&gt;
&lt;p&gt;So let&#039;s just start right in... Imagine, if you will, the following markup:&lt;br /&gt;
&lt;a href=&quot;http://modxcms.com/about/team/rthrash/simple-rounded-corner-css-boxes.html&quot; title=&quot;http://modxcms.com/about/team/rthrash/simple-rounded-corner-css-boxes.html&quot;&gt;http://modxcms.com/about/team/rthrash/simple-rounded-corner-css-boxes.html&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 26 May 2010 01:24:54 +0000</pubDate>
 <dc:creator>businessentials</dc:creator>
 <guid isPermaLink="false">comment 1249586 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>It didn&#039;t work for me but</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/css-problem-making-simple-box#comment-1249131</link>
    <description> &lt;p&gt;It didn&#039;t work for me but thank you for the tips.  I solved it by cheating, by crudely tucking the buttons inside another div that is centered and barely bigger than the two boxes (+padding).&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;div style=&amp;quot;display: block; width: 440px; margin: 0 auto 0 auto;&amp;quot;&amp;gt;&lt;br /&gt;	&amp;lt;a class=&amp;quot;button&amp;quot; href=&amp;quot;/residential_reverse_osmosis.php&amp;quot; style=&amp;quot;width: 200px&amp;quot;&amp;gt;Text in Box 1&amp;lt;/a&amp;gt;&lt;br /&gt;	&amp;lt;a class=&amp;quot;button&amp;quot; href=&amp;quot;/commercial_water_filtration.php&amp;quot; style=&amp;quot;width: 200px&amp;quot;&amp;gt;Text in Box 2&amp;lt;/a&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 19 May 2010 20:45:12 +0000</pubDate>
 <dc:creator>fifeclub</dc:creator>
 <guid isPermaLink="false">comment 1249131 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Possibly your problem stems</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/css-problem-making-simple-box#comment-1249123</link>
    <description> &lt;p&gt;Possibly your problem stems from the fact that &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; elements are inline, and don&#039;t act like boxes. As you discovered, adding &quot;float&quot; displays them as blocks. Adding &quot;display: block;&quot; also works, but does not take them &quot;out of the flow.&quot;&lt;/p&gt;
&lt;p&gt;Using &quot;display: inline-block;&quot; works for real browsers, and will likely do as you want in IE as well. IE older than version 8 does not really understand that, but instead applies &quot;hasLayout&quot; which has some of the same properties.&lt;/p&gt;
&lt;p&gt;A read of this should set you straight: &lt;a href=&quot;http://reference.sitepoint.com/css/csslayout&quot;&gt;CSS Layout and Formatting&lt;/a&gt; (Sitepoint CSS Reference).&lt;/p&gt;
 </description>
     <pubDate>Wed, 19 May 2010 16:27:33 +0000</pubDate>
 <dc:creator>webwiz</dc:creator>
 <guid isPermaLink="false">comment 1249123 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
