http://davidcoshdesign.com/test/transform/index.html
Hi, I've made the margin auto and given the menu a fixed width.... but it still seems to be ranged left... any clues anyone?
Also, having centred the menu items (the text), can these be spread evenly across the width of the menu?
Lastly, and by no means least, in Safari and Firefox, the page layouts seem to 'jump' each time a page link is clicked.
If anyone can shed any light on the above, I would be very greatful.
All the best, RP
To space more evenly across the width use padding on the 'a' css rule rather than setting the 'li' width (see below)
Amend padding to: 5px 21px;
ul.MenuBarHorizontal a
{
display: block;cursor: pointer;
color: #666;
text-decoration: none;
padding: 5px 21px;
background-color: #FFF;
}
Comment out the width:
ul.MenuBarHorizontal li
{
margin: 0;
padding: 0;
list-style-type: none;
font-size: 10px;
position: relative;
text-align: left;
cursor: pointer;
/* width: 90px;*/
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
color: #666;
float: left;
}
North America
Europe, Middle East and Africa
Asia Pacific