Solved

CSS ul li image separator

Posted on 2008-10-26
2
4,235 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
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

785 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