25 okt 2011 kl. 00.04 Konstantinos wrote:

Hello, i am trying to create a ul li list but with blocks. The thing
that i cant understand is how to put the background image into the a
block.

You probably need set a width and height of the a element to 100% in order to display the whole background image. The size of the surrounding li elements should have the proper sizes, as you have now, and the background image can be on the li element or the a element, depending on your link needs, ie whether your link text is going to be visible there or not.

I use sprites for all my navigation backgrounds, instead of multiple images. Look up CSS sprites if you don't know what I'm talking about.

/MiB




--
--
You received this because you are subscribed to the "Design the Web with CSS" 
at Google groups.
To post: css-design@googlegroups.com
To unsubscribe: css-design-unsubscr...@googlegroups.com

Reply via email to