Hello!
I'm having a problem. I want to make a navigation bar which consist of images.
Navigation sprite is something a little bit different. It is not what I need
I have a couple of images which I want to make as a navigation list.
How can I do that? Is it possible just using CSS?
Thank you.
Page 1 of 1
Navigation Bar with images Navigation Bar with images
#2
Posted 31 January 2012 - 06:17 AM
You can just make the images links, or you can use them as background images.
However, it all you have as navigation are those images, then keep in mind that whoever cannot display/see images, has no navigation.
<ul> <li><a href="link1.html"><img src="image1.jpg"></a></li> <li><a href="link2.html"><img src="image2.jpg"></a></li> </ul>
However, it all you have as navigation are those images, then keep in mind that whoever cannot display/see images, has no navigation.
#3
Posted 31 January 2012 - 08:14 AM
And to add on to Andrea, if you put them as background images you can also put a colored background just in case.
That way if the image doesn't show the background color still will.
a {
background: #00FF00 url('image/urlhere');
}
That way if the image doesn't show the background color still will.
Things should be made as simple as possible, but not any simpler. -Albert Einstein
Share this topic:
Page 1 of 1

Help













