Jump to content

Recommended Posts

Posted

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.

Posted

You can just make the images links, or you can use them as background images.

<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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...