Ken Ward's Cascading
Style Sheets Tutorial
[Main Site Page: Freeing the Mind]
[Cascading Style Sheets: Contents]
[Previous: Inheritance]
[This Page: Bullets]
[Next: More on Selectors]
Bullets
You can specify the type of bullet using style sheets. The examples below also
illustrate the code:
- UL { list-style: upper-roman }
- UL { list-style: upper-roman }
- UL { list-style: upper-alpha }
- UL { list-style: upper-alpha }
- UL { list-style: lower-alpha }
- UL { list-style: lower-alpha }
- UL { list-style: decimal }
- UL { list-style: decimal }
- UL { list-style: circle }
- UL { list-style: square }
You can also specify an inline image for the list as follows:
- UL {list-style-image: url(blobul1e.gif)}
- Bullet Two
- Bullet Three
This is a neat way of doing bullet images.
More on Selectors.
Contents