Re: [css-d] Menu bacground and width

2009-07-13 Thread Andzia
> > 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

Re: [css-d] Menu bacground and width

2009-07-13 Thread David Hucklesby
Andzia wrote: >> To center an element using "auto" left/right margins, the element must >> have a width - either specified or intrinsic (as in the case of a >> "shrink-to-fit" property like an inline-block). > > > Now the list elements have "auto" width. Should it be fixed? But then they > wouldn

[css-d] Menu bacground and width

2009-07-13 Thread Andzia
> > To center an element using "auto" left/right margins, the element must > have a width - either specified or intrinsic (as in the case of a > "shrink-to-fit" property like an inline-block). Now the list elements have "auto" width. Should it be fixed? But then they wouldn't look good with diffe

Re: [css-d] Menu bacground and width

2009-07-12 Thread David Hucklesby
Andzia wrote: > > Hi Ania, and welcome. There are some coding errors that make it > difficult to diagnose. > > Correct those and ask again if that does not work. > > > You mean this? > http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fklikerlab.pl%2Fwordpress%2F > > >

Re: [css-d] Menu bacground and width

2009-07-11 Thread David Hucklesby
Andzia wrote: > Hello, > this is my first post to this list. I am creating this website: > http://klikerlab.pl/wordpress/ > using WP Framework. I made a jpg image to illustrate what I want to achieve: > http://klikerlab.pl/wordpress/wp-content/uploads/2009/07/klikerlab_glowna.jpg > and now I'm work

[css-d] Menu bacground and width

2009-07-11 Thread Andzia
Hello, this is my first post to this list. I am creating this website: http://klikerlab.pl/wordpress/ using WP Framework. I made a jpg image to illustrate what I want to achieve: http://klikerlab.pl/wordpress/wp-content/uploads/2009/07/klikerlab_glowna.jpg and now I'm working on the menu, which wil