There isn't much that can be done about this, unfortunately, save better font handling by operating systems. Usually, the italic and oblique fonts look exactly the same in web browsers.
Still, font-style can be useful. For example, it is a common typographic convention that a block quote should be italicized, but that any specially emphasized text within the quote should be upright. In order to employ this effect, shown in Figure 5-28, you would use these styles:
Just like with the font properties,the background properties can all be brought together in a singleshorthand property: background. This property cantake a single value from each of the other background properties, in
WARNING
In practice, some browsers may not do this correctly. Instead, they will increase the height of a parent element so that the floated element is contained within it, even though this results in a great deal of extra blank space within the parent element.
Then there is the question of what happens to elements that flow past a floated element but have visible backgrounds. Let's take the preceding example and change it so that the secondthis:
<P STYLE="font-size: 12px; line-height: 12px;">This is text, <EM>some of which is emphasized</EM>, plus other text<BR>which is <B STYLE="font-size: 24px;">boldfaced</B>and <SPAN STYLE="vertical-align: top; line-height: 4px;">tall</SPAN>and which is<BR>larger than the surrounding text.</P>
Since the line-height for the "tall"

Then the top of the line box is placed against the bottom of the linebox for the preceding line. This will give us a paragraph as shown inFigure 8-52.
As we can see, the middle line is taller than the other two, but itstill isn't big enough to contain the text within it.That's because the position of the inline boxes in the line