View Full Version : IE and Mozzila table size

02-14-2005, 02:26 PM
Hi Iím new to the club

Iím producing a site and at the moment i'm stuck during the testing. I made 1 table with width and height 100% and then within that another table 4 rows and 2 columns of 100%.

When it is published in Mozilla the table fills the whole page but in IE the table finishes about 10 pixels away from the scroll bar. Iím also using I frames may this have something to do with it?

Can anyone tell me why?



02-14-2005, 03:14 PM
Remove all the attributes you've got in your body tag, and insert this in your head section instead:
<style type="text/css">
body {margin: 0; padding: 0;}

Marginwidth/marginheight/leftmargin/topmargin are proprietary nonstandard code which was needed in the old days when IE/nN4.7 where the dominant browsers on the market.

Now we can use valid CSS like the code above :)

02-16-2005, 08:25 PM
Thanks for the suggestion, will give it a whirl,

Speak soon