Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [SOLVED] list-style-image problems Reply To: [SOLVED] list-style-image problems

#241439
bearhead
Participant

The syntax should look like this:

ul { 
list-style-image: url(/Users/tracyowen/Desktop/graphicdesign/fish1.jpeg);
}

So you basically had the syntax right except for the px declarations, which don’t belong here.

Of course there is the problem that you’re trying to link an image from your local machine – you can’t do it that way. You’ll need to upload the image to your server.

So, if you’re website domain was: http://www.mysite.com, and you had an “images” folder where you stored all your images, the url for your fish1 image could look like: http://www.mysite.com/images/fish1.jpeg

also, make sure that the file extension in your url and file match… I noticed you’re file is a .jpeg, so just be careful not to mix that up with .jpg