Forum Moderators: not2easy
I am trying to duplicate this menu effect:
<snip>
but WITHOUT the gap at the left of each list item in the rollover. It works when the items are floated to the left:
<snip>
but I want to center the list. I've tried everything I can think of with no luck.
Is this just an unfortunate "feature" of inline CSS elements, that they have a left margin even when specified as 0?
[edited by: swa66 at 7:08 am (utc) on Sep. 16, 2009]
[edit reason] No links, please see ToS and Forum Charter [/edit]
Some browsers let them be betweeen the lements, some browsers add them inside the element.
One way to get rid of it is by putting all of the source html on one line ... (hurts readability), the other way to deal with them is via padding and conditional comments.