Hello guys and gals! Greetings from God's own county, Yorkshire - England
I'm working on a layout:
http://www.ukrocketry.co.uk/orbital/
I'm trying to add some padding to the bottom of each menu button to vertically align the text, but for some reason it's not working. At the moment each div is 15px high, so I changed it to 13px and added 2px of bottom padding. Instead of pushing the text up, it seems a 2 px space is added on to the vertical height of the div! (In stupid IE 6).
In the other browsers the padding does not appear to take effect. Could a CSS guru help end my woes?
Each menu button is an absolutely positioned div inside a common relative container, and each has it's background set to the button image.
Sample:
div#m1 {
position: absolute;
top: 140px;
left: 5px;
height: 15px;
width: 89px;
text-align: center;
background: #EBEBEB url(
http://www.ukrocketry.co.uk/orbital/...enu_button.gif) no-repeat;
}
How can I add the padding to each of these div's in a way that will work as I want it to? I've never come across this problem before.