CSS list-style-image Property

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP




<!--
main_leaderboard, all: [728,90][970,90][320,50][468,60]
-->




CSS list-style-image Property



Previous
Complete CSS Reference
Next



Example


Specify an image as the list-item marker in a list:




ul


   
list-style-image: url('sqpurple.gif');

Try it Yourself »


Definition and Usage


The list-style-image property replaces the list-item marker with an image.


Note: Always specify the list-style-type property in addition. This property is used if the image for some reason is unavailable.













Default value: none
Inherited: yes
Animatable: no. Read about animatable
Version: CSS1
JavaScript syntax: object.style.listStyleImage="url('smiley.gif')"
Try it


Browser Support


The numbers in the table specify the first browser version that fully supports the property.















Property
list-style-image 1.0 4.0 1.0 1.0 7.0





<!--
mid_content, all: [300,250][336,280][728,90][970,250][970,90][320,50][468,60]
-->




CSS Syntax



list-style-image: none|url|initial|inherit;



Property Values


















Value Description Play it
none No image will be displayed. Instead, the list-style-type property will define what type of list marker will be rendered. This is default Play it »
url The path to the image to be used as a list-item marker Play it »
initial Sets this property to its default value. Read about initial
Play it »
inherit Inherits this property from its parent element. Read about inherit


Related Pages


CSS tutorial: CSS List


CSS reference: list-style property


HTML DOM reference: listStyleImage property




Previous
Complete CSS Reference
Next

Popular posts from this blog

WWE Night of Champions

Poznań

Kaliningrad