Solved

CSS ul li image separator

Posted on 2008-10-26
2
4,250 Views
Last Modified: 2009-02-20
Hi there
I have a vertical navigation bar, defined as <ul> <li>, I'd like to use an image as a separator rather than declare a bottom border style. How could I go about this?
Thanks for any advice.
0
Comment
Question by:mike99c
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 30

Accepted Solution

by:
Steggs earned 500 total points
ID: 22807106
Hello,

You could use background images on the list items... something like this:

ul#menu li {
background: url(yourImage.gif) no-repeat left bottom
}

<ul id="menu"><li><a href="">Link</a></li></ul>


Let me know if you have any questions or need more help

Thanks
Steggs
0
 

Author Comment

by:mike99c
ID: 22807899
Thanks, that fixed it.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question