HTML and CSS Reference
In-Depth Information
h2 {float: left;
text-align: center;
margin-right: 10px }
Figure 8-17. Use the float property with text blocks to
create run-in headers
All the popular browsers support this property. The height property
As you might suspect, the height property controls the height of the as-
sociated tag's display region. You'll find it most often used with images
and tables, but you can use it to control the height of other document
elements as well.
The value of the height property is either a length value or the keyword
auto (the default). Using auto implies that the affected tag has an initial
height that should be used when displaying the tag. Otherwise, the
height of the tag is set to the desired height. If an absolute value is
used, the height is set to that length value. For example:
Search WWH ::

Custom Search