> Cc: css-d@lists.css-discuss.org
> Subject: Re: [css-d] menu issue
> 
> Ian Young wrote:
> 
> > http://db-studio.venus.titaninternet.co.uk/index.php
> >
> > Although there is no change to the html, I have had to add an extra
> > style code in the contact and portfolio pages as the menu sits a few
> > pixels higher than does than it does on the other pages.
> 
> Some pages have a Transitional doctype and others have a Strict
> doctype.
> That explains the different handling of elements inside your h1, making
> the h1 vary in height between pages.

Duh! Thanks. It had to be simple, but I hadn't appreciated how stupid I had
been.
> 
> Mode-stabilize the h1 construction first, by adding...
> 
> h1 * {display: block;}
> h1 {padding-bottom: 6px;}
> 
> After that you should need no page specific styling of the nav-margin,
> and can adjust the padding-bottom on h1 to taste to push the nav down.


All looks they way it should now.

Thanks again.

Ian

______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
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