View Single Post
Old 05-21-2011, 12:17 AM   PM User | #1
Dornith
New Coder

 
Join Date: Dec 2010
Posts: 14
Thanks: 1
Thanked 0 Times in 0 Posts
Dornith is an unknown quantity at this point
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?
Dornith is offline   Reply With Quote