Solved

HTML List- Using Customized Pics

Posted on 1998-11-01
2
177 Views
Last Modified: 2010-04-09
I'd like to use a picture instead of the standard dot (or circle or whatever) in List (created using the UL tag). Is it possible to do this using just HTML or maybe CSS1 ?
Please provide an example of the HTML/CSS lines needed to implement this.
0
Comment
Question by:offer
2 Comments
 
LVL 4

Accepted Solution

by:
rafistern earned 200 total points
ID: 1839343
What you can do in standard html is to create a table layed out the same as the list would be.
<table>
<tr>
<td valign=top><img src="mybullet.gif></td>
<td>My text</td>
</tr>
...
</table>


IE4 also supports the style syntax:

ul {list-style-image:url(the/url/of/the/image.gif);}
0
 

Author Comment

by:offer
ID: 1839344
The first part of the solution is more of a workaround than a solution, the second works only for a specific browser... Nonetheless, better a workaround than nothing at all.
10x, rafistern.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
uploading image to a profile page 1 29
Help position a graphic properly via CSS 4 23
Form Processing in PHP 11 32
compact pure CSS Read More Toggle 4 24
Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

867 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now