PDA

View Full Version : Menu buttons width


blogods.info
February 26th, 2006, 04:28
I want to make the menu buttons (which are in header) to be of the same size (120px each). How to implement it?

Matt
February 26th, 2006, 06:47
In the stylesheet, replace:

ul.menu li a {
font: 1em Verdana, Helvetica, Arial, Sans-Serif;
color: white;
margin: 0;
}

with this:

ul.menu li a {
font: 1em Verdana, Helvetica, Arial, Sans-Serif;
color: white;
margin: 0 0 -6px;
width: 120px !important;
float: left;
display: block;
}

This is for the default stylesheet. If you are using a different style, or a custom one, just find ul.menu li a - make it a block, float it left, and give it the width you want.

blogods.info
February 26th, 2006, 08:42
Ok! Worked!