| Dornith |
05-21-2011 12:17 AM |
CSS: Format Wdith Reletive to Pre-CSS
I have a menu with a bunch of buttons with various widths. When you mouse over them it changes the font to bold. But that makes the element slightly bigger wich causes the entire menu to move around.
My first thought was to make all the buttons slightly wider so that when the font changed the element would not need to grow to fit it.
The problem is, I do not want to go through each one and indivigualy size each one and if I make them all one size some buttons are way biggger then needed.
I am open to other ideas aswell, but does anyone know how to change the width of an element relative to what it was?
|