Previous Message
Next Message

what part of 100% doesn't IE understand?

Sent by Bob Easton on 9 November 2003 17:05


Jack Angert wrote:
> I'm redesigning a page to use a banner image at the top of the screen. Ideally it should fill the
entire width (up to 1600px, the width of the photo) of the browser. Mozilla 1.5 gets it right, but
IE6 leaves a margin on the right side of the screen no matter what I do. The only thing that I found
that works is increasing the width of the div to 102%, but that causes a scrollbar to appear in
Mozilla. Is there a way to get it to fill the entire width in both browsers?
> 
> Page:
> http://www.jackanderica.com/jack/layout5.html
> CSS:
> http://www.jackanderica.com/jack/layout5.css
> 
A hunch:  try
html,body {padding: 0;}

NB: when using 0, omit the units.  i.e. padding:0; instead of padding:0px;
-- 
Bob Easton

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: