Friday, May 21, 2010

How do I set special character for html list item?

Hello,


I want to create a ul, and I want the bullets style to be special character, like '%26gt;'. Is there any way defining bullet style to be special character or I have to use image?

How do I set special character for html list item?
Use the special character names or entity to add these to your list. You will have to turn off the default list style:





li { list-style-type: none }





Then for each:





%26lt;ul%26gt;


%26lt;li%26gt;%26amp; lt; Inserted spaces for entity to show here %26amp; gt;%26lt;/li%26gt;


%26lt;/ul%26gt;





For a list of different entities:





http://www.mozilla.org/newlayout/testcas...


http://htmlhelp.com/reference/html40/ent...


http://htmlhelp.com/reference/html40/ent...


http://www.alanwood.net/demos/ent4_frame...





Ron
Reply:Using an image would give you more control.


No comments:

Post a Comment