• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 214
  • Last Modified:

HTML List- Using Customized Pics

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
offer
Asked:
offer
1 Solution
 
rafisternCommented:
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
 
offerAuthor Commented:
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now