Jump to content
xisto Community
Sign in to follow this  
nickmealey

List-style Help - I need a good code

Recommended Posts

you know where you can use your own images for a list. well, I have a code that don't work. Please send me a good code that works. yu know,

<li>with my image infront</i>

Share this post


Link to post
Share on other sites

ok, got that figured out. But, the text is below the image. Solutions?????

Share this post


Link to post
Share on other sites

ok, got that figured out. But, the text is below the image. Solutions?????

64977[/snapback]


I am not sure if i understood you well. Do you want to create a list with background-images for each li. Each "li" element contains also text?

 

<li id="home" >home</li><li id="about" >about us</li><li id="links"   >links</li>

In CSS file:

#home {	background: url(./images/image.gif)  no-repeat;}
....

..

.

 

I hope it helps,

 

Notice from becca:
All coding must use a code tag. Thanks

Edited by Becca (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.