Previous Message
Next Message

IE page is too long and produces vertical scroll bar

Sent by Christian Heilmann on 25 July 2006 10:10


> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> "http://www.w3.org/TR/html4/loose.dtd">

Quirksmode, anything can happen! Use a DOCTYPE that throws the browser
into standards mode.
http://css-discuss.incutio.com/?page=RenderingMode

> table#zcontainer {
> height: 100%;
> width: 780px;
> background-color: #FFFFFF;
> margin: 0 auto;
> text-align: left;
> border: 1px solid #000000;

100% + 2px (1px border on top and bottom) = vertical scrollbar.
http://css-discuss.incutio.com/?page=HundredPercentHeight

The trick to a clever CSS layout is to start with content and then
build your layout around it. Markup is there to describe content, not
to paint on a canvas.
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: