|
Posted by Mark Parnell on 10/04/58 11:40
Deciding to do something for the good of humanity, Troy Piggins
<usenet-0602@piggo.com> declared in alt.html:
> div.note:first-line {
> padding-left: 30px;
> }
>
> But it seems to have no effect.
That's because padding doesn't apply to :first-line.
"Only the following properties apply to a :first-line pseudo-element:
font properties, color properties, background properties,
’word-spacing’, ’letter-spacing’, ’text-decoration’, ’vertical-align’,
’text-transform’, ’line-height’, ’text-shadow’, and ’clear’."
http://www.w3.org/TR/CSS21/selector.html#first-line-pseudo
It does go on to say that UAs may apply other properties as well, but
that will be different in each browser.
--
Mark Parnell
Now implementing http://blinkynet.net/comp/uip5.html
[Back to original message]
|