Jump to content

[SOLVED] Get DIV or TABLE to truly be 100% width


limitphp

Recommended Posts

If I set the width to 100% in a table or a div, it works fine in firefox (it actually is 100% of the screen), but in IE, it doesn't take up 100% of the screen. 

 

Is this some sort of flaw with IE?

 

I thought maybe IE saves room for the scrolllbar, but even with the scrollbar there is a considerable gap in the width.

 

<HTML>
<body STYLE="overflow-y:scroll">
<DIV STYLE="position:absolute; top:0px; left:0px; width:100%; background-color:#4682B4">
	stuff
</DIV>

</body>
</HTML>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.