Change the Principal points For example, think you desired to make a record on a website in which each product was beat by an picture of a celebrity. You could add an picture tag to the starting of each product in a description record to obtain this kind of thing, such as with the following code:
<dd><img src="star.gif" width="12" height="12" alt="star">The World
Wide Web Consortium was created in 1994</dd>
But what if you had 20 products in your list? Including that lengthy img tag to every record product would be boring. A more effective substitute is to swap to an unordered record (one with principal points, by default) and use a design piece in the headlines of your web page to modify the frequent topic to the picture of your option.
The following value and representation display how this might work:
<style type="text/css">
li {list-style-image: url(star.gif);}
</style>

TIP
For the best outcomes, select pictures that are about the same top as the textual content in each record product.
<dd><img src="star.gif" width="12" height="12" alt="star">The World
Wide Web Consortium was created in 1994</dd>
But what if you had 20 products in your list? Including that lengthy img tag to every record product would be boring. A more effective substitute is to swap to an unordered record (one with principal points, by default) and use a design piece in the headlines of your web page to modify the frequent topic to the picture of your option.
The following value and representation display how this might work:
<style type="text/css">
li {list-style-image: url(star.gif);}
</style>
TIP
For the best outcomes, select pictures that are about the same top as the textual content in each record product.



0 comments:
Post a Comment