Kim Brooks Wei wrote:
> I have a topper #namebar and a leftnav. They both have a left margin
> of 1.3em, but they don't line up on the left. I would like to know
> why . . .
>
> http://njlada.com/sandbox/
As Philippe said.
So, to make the elements line up where you want them to on the left,
while keeping the font-sizes you want, move the font/font-size
declarations onto elements inside #namebar and #lnav, like so...
#topper #namebar p{
font: 900 1.2em/120% verdana, sans serif;
}
#lnav ul {
font-size: .9em;
}
Also, add...
#topper #namebar {
display: inline;
}
...to make IE6 play well with margins on that float.
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/