<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1041953" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1041953</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Just to point out....
If you</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/table-layout-looks-out-whack-ie-7#comment-1233818</link>
    <description> &lt;p&gt;Just to point out....&lt;/p&gt;
&lt;p&gt;If you center a DIV like you want, as per Darlings post, you must specify a width for the div.&lt;br /&gt;
Without a specific width, a DIV will fill the available horizontal space it has, and therefore cannot center as it will be the full width of the area it is in.&lt;br /&gt;
Also, if you float a div, left/right, it cannot have auto left/right margins.&lt;br /&gt;
I know it would seem like a pointless mixture of settings, but sometimes you want to center a div and then float something next to it.&lt;/p&gt;
&lt;p&gt;I often wondered if there was a way around this, or if it&#039;s just another one of those badly designed CSS structural things.&lt;/p&gt;
 </description>
     <pubDate>Wed, 24 Sep 2008 15:22:14 +0000</pubDate>
 <dc:creator>greg</dc:creator>
 <guid isPermaLink="false">comment 1233818 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>To centre a fixed width</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/table-layout-looks-out-whack-ie-7#comment-1233814</link>
    <description> &lt;p&gt;To centre a fixed width layout you&#039;ll need to nest all of your other divs inside one large container&lt;/p&gt;
&lt;p&gt;like this&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;body&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;div id=&amp;quot;container&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Put your content here&lt;br /&gt;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;and then in the css you&#039;ll need something along these lines&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;#container{&lt;br /&gt;&amp;nbsp; margin: 0 auto;&lt;br /&gt;&amp;nbsp; width: xxxpx;&lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;obviously in place of xxx you put the width of your layout.&lt;br /&gt;
I think there also may be some problems with this in earlier versions of IE.&lt;/p&gt;
 </description>
     <pubDate>Wed, 24 Sep 2008 14:40:56 +0000</pubDate>
 <dc:creator>Darling</dc:creator>
 <guid isPermaLink="false">comment 1233814 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Okay, I&#039;m starting to</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/table-layout-looks-out-whack-ie-7#comment-1233772</link>
    <description> &lt;p&gt;Okay, I&#039;m starting to understand CSS a little better and can definitely see why this is the way everyone has gone. Lots more flexibility on the layout end, and a lot easier to fix if something isn&#039;t showing right. This is exciting stuff. However, I&#039;m pretty new to this and am still having a few issues with this site...any suggestions on the following...?&lt;/p&gt;
&lt;p&gt;Here is an example link:&lt;br /&gt;
&lt;a href=&quot;http://www.indivia.biz/client/fusion/2008_09_22/gettingstarted.htm&quot; title=&quot;http://www.indivia.biz/client/fusion/2008_09_22/gettingstarted.htm&quot;&gt;http://www.indivia.biz/client/fusion/2008_09_22/gettingstarted.htm&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;1. How do I center the whole page? Is there a simple way to do this? I have done a little searching on this and tried a couple of things but so far nothing is working. It seems like this is maybe a little harder to do with a CSS layout...?&lt;/p&gt;
&lt;p&gt;2. I pasted in the code for the drop down menus on the navbar from the previous version of the site. For some reason, the borders around the individual cell items on the menus now look different in IE vs. Firefox. The way I want them to display is the way they currently look in Firefox (thinner borders).&lt;/p&gt;
&lt;p&gt;3. The right side of the box is out of whack in Firefox. In IE, it shows &quot;correctly&quot;...as a straight line. But in Firefox you can see that it is one pixel off. I can&#039;t figure out what&#039;s causing this.&lt;/p&gt;
&lt;p&gt;Thanks for any help!!&lt;/p&gt;
 </description>
     <pubDate>Tue, 23 Sep 2008 16:11:35 +0000</pubDate>
 <dc:creator>twebb</dc:creator>
 <guid isPermaLink="false">comment 1233772 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Hi guys, thanks a lot for</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/table-layout-looks-out-whack-ie-7#comment-1233709</link>
    <description> &lt;p&gt;Hi guys, thanks a lot for the help! As I said, I have been just creating pages in Fireworks and exporting them to Dreamweaver, though I know that this can introduce a lot of problems. I am pretty good at figuring out what different pieces of code do, but in this case I was stumped. I know all those spacers and things that Fireworks puts in there are just crazy.&lt;/p&gt;
&lt;p&gt;I guess it&#039;s finally time to get deeper into CSS! It&#039;s something I should have done long ago. JeevesBond, thank you for that link on CSS layout, I will definitely study up on that. I also just discovered that Fireworks will actually export to a CSS layout as well as tables, which I never realized. Though I&#039;m not sure whether I should trust it now.&lt;/p&gt;
&lt;p&gt;Anyway, I think I know what I need to do, thanks again for the tips! &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Mon, 22 Sep 2008 11:01:56 +0000</pubDate>
 <dc:creator>twebb</dc:creator>
 <guid isPermaLink="false">comment 1233709 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Hi Tim, welcome to the</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/table-layout-looks-out-whack-ie-7#comment-1233631</link>
    <description> &lt;p&gt;Hi Tim, welcome to the forums. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;I had a quick try at fixing this but the code of that page is a complete mess! The root of the problem is that tables should not be used for layout. That was the way to do things in the 90&#039;s, but the world has moved on.&lt;/p&gt;
&lt;p&gt;The other problem is the code has been generated by a piece of software. That&#039;s fine, until there&#039;s a problem. Unless you understand the code of a page you&#039;ve created, it&#039;s impossible to debug it.&lt;/p&gt;
&lt;p&gt;Megan has written an article on the subject of using &lt;a href=&quot;http://www.apaddedcell.com/11-practical-reasons-to-use-css-for-layout&quot;&gt;XHTML/CSS for layout, instead of tables&lt;/a&gt;. There are some good links on getting started with switching in the References section. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Sorry if this sounds a bit harsh, I did try to look at this. However, debugging an over-complicated auto-generated layout is not easy. You&#039;ll save time in the long run by just tearing it all down and starting again. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 20 Sep 2008 05:18:33 +0000</pubDate>
 <dc:creator>JeevesBond</dc:creator>
 <guid isPermaLink="false">comment 1233631 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>It seems the image</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/table-layout-looks-out-whack-ie-7#comment-1233630</link>
    <description> &lt;p&gt;It seems the image &quot;images/index_r2_c9.jpg&quot; is moved down, or is &quot;underneath&quot; a table cell or row, but that is something to do with your table cells or rows.&lt;br /&gt;
I cannot see where it goes wrong, but one solution you might try is to put a border of &quot;2&quot; in the &lt;code&gt;&amp;lt;table&amp;gt;&lt;/code&gt; and it might reveal which cell/row is causing the issue.&lt;/p&gt;
&lt;p&gt;A side note, you seem to use the image spacer/gif a lot in many cells. Perhaps a simpler alternative with CSS would be better?&lt;br /&gt;
It seems you only use it to space things out, and margins/padding does that much more efficiently as the browser doesn&#039;t have to draw an image many times.&lt;br /&gt;
The very least would be to just use a specific class on the cells you want to space, rather than use an image to space them. Define a table row with a specific class for the spacing on the top of the page for example&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;tr.top_space{&lt;br /&gt;margin: 1px 0px 0px 0px;&lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
Also, the way you do it now you have lots of cells to space the top. At the least perhaps use colspan=&quot;9&quot; instead of the 9 individual cells you draw currently.&lt;br /&gt;
Using tables doesn&#039;t &quot;really&quot; matter, and is all aguable these days with tables versus CSS, but you should get into the habit of writing tidy and efficient code even if you use tables.&lt;/p&gt;
&lt;p&gt;Although, for the design you have, a CSS layout would be very simple to do. A few DIVs here and there.&lt;/p&gt;
&lt;p&gt;If you use the browser to increase text size, it also creates the same problem in firefox with tta gap above the image in internet explorer. Due to that cell being spanned over 4 rows. CSS would also fix this issue.&lt;/p&gt;
 </description>
     <pubDate>Sat, 20 Sep 2008 05:07:57 +0000</pubDate>
 <dc:creator>greg</dc:creator>
 <guid isPermaLink="false">comment 1233630 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
