from the whirlpool.net.au discussion forums
web hosting by WebCentral Australia
   problem with max DIV in IE View full version
User #196605   14 posts
Participant

Hi,

was wondering if anyone can help with this problem.

Basically I have a fixed DIV layout that won't stretch to the entire width of the screen like in firefox.

Here's a photo :

img138.imageshack.us/my....=maxwidthxn3.jpg

See how there is a gap between the DIV and the browser scrollbar?

here's my code :

#logo { position: absolute; right: 0px; left:0px; top: 0px; width:100%;
background: #ffffff;
border: 1px solid #959596;
background-repeat:repeat-x;
z-index:100;
min-width: 420px;
}

posted 2008-May-19, 2am AEST
User #30765   2040 posts
Whirlpool Forums Addict

Try using margin. If that still doesn't work, try:

* {
padding: 0;
margin: 0;
}

posted 2008-May-19, 2am AEST
edited 2008-May-19, 2am AEST
User #196605   14 posts
Participant

Yeah tried that but didn't work. Thanks though.

posted 2008-May-19, 7am AEST
 
© Whirlpool Broadband Multimedia