Posted By

Masis on 09/08/10


Tagged

css


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

jplr


CSS reference: list-style-image


 / Published in: CSS
 

URL: http://phpforms.net/tutorial/tutorial.html

This parameter determines the image address which serves as a list marker. This attribute is inherited; therefore value none is used for separate elements of the list for marker resto

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
  5. <title>list-style-image</title>
  6. <style type="text/css">
  7. UL {
  8. list-style-image: url('images/book.gif');
  9. }
  10. </style>
  11. </head>
  12. <body>
  13.  
  14. <ul>
  15. <li>Lorem ipsum dolor sit amet</li>
  16. <li>Consectetuer adipiscing elit</li>
  17. <li>Sed diem nonummy nibh euismod</li>
  18. <li>Tincidunt ut lacreet dolore magna aliguam erat volutpat. Ut wisis
  19. enim ad minim veniam, quis nostrud exerci tution ullamcorper suscipit lobortis
  20. nisl ut aliquip ex ea commodo consequat.</li>
  21. </ul>
  22.  
  23. </body>
  24. </html>

Report this snippet  

You need to login to post a comment.