How do I get rid of lots of extra white space before a table (in Internet Explorer).
I set up a web site for a friend's nonprofit.
This page looks fine in Firefox, but there's a lot of white space above the table in Internet Explorer (6 & 7). I used a free template to set up the site, and I'm still exploring the mysteries of CSS, however I'm using a table for actual tabular data here, not for layout. There's nothing between the closing /P tag of the paragraph above and the TABLE tag, and there's no extra space at the top of the table. If I put a border around the table, I can clearly see that the white space is above the table, not within it. I did try this without the closing /P tag before the table, and that didn't make any difference. Following some hints I found by Googling "space before tables," I removed all the line breaks from the HTML table code, which
didn't make any difference. Is there some intrinisic difference between how Firefox and IE handle the space before tables? And what, if anything can I do about this?
width="550"
goes to
width="95%"
for example?
It looks like the menu section on the left is pushing the table down because the table's too wide...
You can see this using Firefox's development tools and outline block-level elements :o)
posted by charlie7691 at 4:38 AM on April 23, 2008