FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

hot to change the <ul><li> default dot?

 


alalex
Is it possible to change the dot that appears to mark a new line when you use an unordered list in html to a custom image? Question
mathiaus
list-style-image
dayveday
Hey, yes it's really easy to do with CSS:
Code:
li {
list-style: circle outside url('/images/bullet_a.png');
}


You can specify the shape (which will appear while the image loads), the position and an image url. There's more info available at http://www.htmldog.com/reference/cssproperties/list-style/
alalex
hey thankx a lot! Very Happy
i tried to google it somehow, but i didnt really know what to search for..
thanks!
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.