April 2005
Intermediate to advanced
336 pages
6h 33m
English
Another shorthand property is the list-style property. It takes properties from lists and enables you to author them in shorthand (see Example 10-9).
Example 10-9. Using the list-style shorthand property
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>working with style</title><style type="text/css">body {font: 14px Georgia, Times, serif; color: black; background-image: url(balloons.gif); background-position: right top; background-repeat: no-repeat;}h1 {font: italic 20px Georgia, Times, serif; color: red; text-transform: lowercase;} ul {list-style: url(arrow.gif) inside; ...
Read now
Unlock full access