Previous Message
Next Message

problem with font-weight and padding

Sent by Sam Carter on 14 February 2004 06:06


s,

in my site http://www.nesys.it/test4/who.html
css: http://www.nesys.it/test4/style.css
I've a problem in the "topmenu": if I use font-weight=bold for the hover
action, the padding right changes and the menu goes to the right. I wouldn't
that. There's a solution for my problem? It's possible to solve it?


This is probably not the answer you want, or worse, you already know this
one.

font-weight: bold  -- will use a larger font and move things around.

The solution is to emphasize text on :hover  by changing color and not the
font-size or font-weight.

If that's not your cup-o-java, then you can plan on making the inline links
block elements, absolutely position each of them, and you might get the
result you hoped for using BOLD.

I still recommend avoiding this.  Too much time tweaking things.

Sam


______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: