Center Primary Links
We have found that this solution works:
#primary ul {
position: static;
text-align: center;
}
#primary li {
display: inline;
font-size: 100%;
margin-right: 5px;
float:none;
}
#primary a {
display: static;
float:none;
}
The key here is resetting the #primary ul to position: static (thanks to Roger Lopez for finding that out... not setting this, in IE6, causes the block to render out of place...) and setting the #primary li to display:inline instead of float:whatever.
hope this helps
this was posted on this page on drupal.org - johnvsc's blog
- Login to post comments
