[thelist] CSS help, styling lists

M. Seyon evoltlist at delime.com
Sun Jan 9 08:53:24 CST 2005


Message from Theodore Serbinski (1/8/2005 09:09 PM)
>Hi all,
>
>So I'm having a bit of trouble, and yes, IE is causing me the trouble.
>Take a look at this template:
>
>http://www.cilon.com/asist/
>
>I'm trying to get the menu to center vertically within the horizontal
>blue bar, along with the search field but IE is not cooperating, no
>matter what I try.

I don't know the technical details but it appears that an inline box 
doesn't respond to top or bottom margin or padding. You can however use 
line-height, and vertical-align.

I applied a line-height of 2em to your #globalmenu li selector and it 
solved the problem.


>Also, does anyone know how
>in IE to make the menus appear like this in the mockup:
>      http://projects.userworks.com/asist/Prototypev10.htm
>Looking at the hover state mostly, in Firefox it's easy to extend the
>padding on the A tag but IE just grows the LI box so the border
>expands too (instead of small).

Not sure what you're asking here. I don't see any hover state displayed in 
the mockup.

regards.
-marc

--
Trinidad Carnival in all its photographic glory. Playyuhself.com
http://www.playyuhself.com/


More information about the thelist mailing list