[EMAIL PROTECTED] wrote:

> http://gorge.org/newdes/

> But if you narrow the browser window, the content goes below the 
> navbar. Argh!

The incomplete doctype makes browsers stay in quirks mode.
See: <http://gutfeldt.ch/matthias/articles/doctypeswitch/table.html>

For IE6 and 7 that means: no support for CSS above what IE5.5 supports,
which means IE7 doesn't support 'min-width'.

A proper - complete - doctype will get IE7 somewhat up to speed, but the
'min-width' value is too small for it when it starts supporting the W3C
box model. IE6 doesn't support 'min-width' anyway, but it'll switch box
model.

To prevent IE7, 6 and older from dropping #content no matter which mode
they're in, you can add...

#leftnav {margin-bottom: -10000px;}

...which is a "tough" fix in that it makes the #leftnav take up no
space - in any browser. This will of course only work on pages where
#content is always taller than the "no-space" #leftnav, like yours is now.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to