Greg Farries wrote:
I'm having some problems with a CSS styled list. I am using the css
list as a navigation menu, and I've picked the code up from Listamatic
[http://css.maxdesign.com.au/listamatic/horizontal26.htm].
You can see what I've got so far here:
http://www.vauxhallbaseball.com/index-1.html
1) How do I center the CSS list on the page?
2) Any ideas on how I could add a border to the right-hand side of the
list (similar to the border that is on the left)?
1) The usual method for centering is "auto" for left and right margins.
#navcontainer {margin-left:auto; margin-right:auto;}
See also our WIKI page on centering (a)
2) Looks like you'll need an extra style on the last list item. Like this:
HTML
<li><a href="#" class="last">Contact Us</a></li>
CSS
#navcontainer a.last {border-right: 1px solid #A8B090;}
(a) http://css-discuss.incutio.com/?page=CenteringBlockElement
--
Bob Easton
Accessibility Matters: http://access-matters.com
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/