On 1/20/11 5:09 PM, David Laakso wrote:
On 1/20/11 2:39 PM, Rory Bernstein wrote:
On this site:
http://mcgivney.ehclients.com/
I cannot for the life of me figure out how to get the positioning of
the dark green tab that appears behind the nav items when you hover
on them. For example, if you hover over "practices" in the nav, that
box is not quite the same distance from the left and right divider
lines. There is more space between the dark green box and the line on
the right side; I'd like to have this spacing on the left too but I
cannot figure out how to do that.
Thanks, Rory
Trust me, your idea of dark green and my idea of dark green may be
two entirely different things. Either way the words "about" and
"practices" appear to be visually horizontally centered in Mac OS X
10.4 FF/3.16.3. If the goal is to center the links and their
respective border horizontally in the dropdown-box, then adding and
tweaking this is one way to do it...
#nav ul li a{left: 6px;}
~d
Hmm. Guess I see what you mean, now. You might try this [and tweak] and
see if it helps?
#nav li a{margin-left:6px;}
~d
--
http://chelseacreekstudio.com/
http://chelseacreekstudio.com/fa/
______________________________________________________________________
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/