Thursday, 5 December 2013

CSS : list-SHORTAND PROPERTY


List - Shorthand property
It is also possible to specify all the list properties in one, single property. This is called a shorthand property.
The shorthand property used for lists, is the list-style property:


Example

ul
{
list-style: square url("sqpurple.gif");
}

When using the shorthand property, the order of the values are:
  • list-style-type
  • list-style-position (for a description, see the CSS properties table below)
  • list-style-image
It does not matter if one of the values above are missing, as long as the rest are in the specified order.




Other Topics

No comments:

Post a Comment

Physics basic inventions and inventors

1.Which instrument is used to measure altitudes in aircraft's ? Audiometer Ammeter Altimeter Anemometer Explanation : ...