>
> It's the entire list that you are trying to center, not the individual list
> items (I think). Give the UL a width, then the auto left/right margins on
> the UL will center it.
> [...]


I wrote:
.nav ul { width: 80%; margin-left: auto; margin-right: auto; }
but the browser ignored it. Firebug doesn't see this line, it sees only .nav
class. So I added the 80% width here:

/* Lists: (ul, ol, dl) */
ul, ol, dl { margin-left: 15px; }
.nav { margin-left: auto; margin-right: auto; width: 80% }

and it shrinks somehow to the center, but the menu items stay aligned to the
left (with margin), and the border shrinks too :(

My opinion, not universally shared, is that many visitors will only move
> their mouse towards a link that appears to take them closer to what they are
> looking for, so that hiding links is counter-productive. If the link is
> important, I make it visible; if it is not important, I leave it off and
> reduce the noise.
>

That's right... if I can't find something on the page which I opened, I
usually go back to Google ;))
But this menu will be more like a footer, anyway...
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to