CSS Menu Centre type in box
Hi
If I make my menu a specific height eg 45pixels
How do I centre the type vertically (space above type and below the type is equal) in the box and still keep the hight of the box at 45 pixels
Hi
If I make my menu a specific height eg 45pixels
How do I centre the type vertically (space above type and below the type is equal) in the box and still keep the hight of the box at 45 pixels
Hiya dawn,
In the 'Box' tab in CSSMWriter's 'Edit Theme' settings, select the menu level and then 'Item' in the section 'Dimensions, Margins and Padding'.
You can tweak the padding (in your case the top and bottom padding) to centre your text vertically.
If the text appears too high in the menu, you can increase the top padding. To keep the menu height at 45px, remember that if you add x pixels to the padding, you will have to deduct x pixels from the height.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.