Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

HTML List- Using Customized Pics

Posted on 1998-11-01
2
190 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Html value of radio 14 27
Html input text color the frame line 2 20
Javascript 2 20
really easy css change help please 4 18
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.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
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.…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

839 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