Sunday 25th of February 2018 10:13:30 PM

7.7.2. List Item Images

Sometimes, of course, a pregeneratedbullet just won't do. Instead, you feel the need to use animage for each bullet. In the past, the only way to achieve this sortof effect was to fake it. Now all you need is alist-style-image declaration. usemap="#banner-map" border=0 alt="Book Home" >

Cascading Style Sheets: The Definitive GuideSearch this book

Symbols | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

Index: X

x-height: 3.2.2.1. em and ex units
XML (Extensible Markup Language): 1.2.6. Preparing for the Future
display property and: 2.9.1. Why Does the display Property Exist?
selectors in: 2.1.2. Simple Selectors


Symbols | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z


Library Navigation Links

Copyright © 2002 O'Reilly & Associates, Inc. All Rights Reserved.

700, 800, and 900.

In order to understand this more clearly, let's look at three examples of font-weight assignment. In the first, assume that the font family Karrank% is an OpenType font and so already has nine weights already defined. In this case, the numbers are assigned to each level, and the keywords normal and bold are assigned to the numbers

It's also possible to scale an image (or other replacedelement) using height:

<IMG SRC="test.gif" STYLE="display: block;" ALT="test image"><IMG SRC="test.gif" STYLE="display: block; height: 50px;" ALT="test image"><IMG SRC="test.gif" STYLE="display: block; height: 200px;" ALT="test image">

This is exactly the same as using the HEIGHTattribute on the IMG tag in HTML. If an image is100 pixels tall, then by default its height will be100px . If you specify another value, then the