On Mon, Dec 01, 2008 at 08:41:47PM +0100, Gunlaug Sørtun 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>

Ah! Thank you. Of course as soon as I change that, I have new
issues to deal with (code that no longer validates) but at least
I have a direction to go in!

However, this doesn't make any difference in Firefox. I guess maybe
when I get my code validating it might work? Otherwise the only difference
appears to be text size.

> which means IE7 doesn't support 'min-width'.

This was a desparate gambit of mine; I should have taken it out when
it didn't work!

> 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.

Ok, maybe I misunderstand here. My understanding of box model is that
IE doesn't quite align as other more "correct" browsers, so you need
to add extra, slightly skewed, directions in the CSS which IE will read
but which other browsers will ignore. So I'm not sure if I've missed
something?

> To prevent IE7, 6 and older from dropping #content no matter which mode
> they're in, you can add...
> 
> #leftnav {margin-bottom: -10000px;}

That works great in IE. Thanks for that (and for being prepared to 
offer a rough and ready suggestion rather than just "fix your code").

Firefox is still looking the same... no idea how to fix it.
-- 
Flash Bristow     -    Web Design & Mastery     -    07939 579090
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Work: www.wdam.co.uk                      Personal: www.gorge.org
______________________________________________________________________
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