SEARCH
0-9 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
Prev | Current Page 161 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"

This problem??™s documented
on the Quirksmode web site.17
:first-line
:first-line {
declaration block
}
SPEC
CSS1
BROWSER SUPPORT
Op9.2+ Saf1.3+ FF1+ IE5.5+
PARTIAL FULL PARTIAL BUGGY
Example
The following selector will match the first
line of a p element:
p:first-line {
?‹® declarations
}
This pseudo-element represents the first
formatted line of text in a block-level
element, an inline block, a table caption,
or a table cell. As with the
:first-letter pseudo-element, the
first line may actually occur inside a
block-level child element.
The amount of text that??™s represented
by :first-line depends on how the text is rendered??”it??™s affected by factors like
font size and line width. If the user changes the text size or the width of the browser
window, more or fewer characters could become part of the pseudo-element.
Here??™s an example rule set and HTML block:
p:first-line {
text-transform: uppercase;
}

This is a paragraph of text containing several lines of text.


Pages:
149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173

hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6