*news.individual.net* <juanjeQUITA (AT) puntodepartida (DOT) com>:
Quote:
Can I capitalize the first letter of the first paragraph without using
a special class for that <p> ? |
Like Neal's reply shows, your wording is misleading (but the sample code
isn't).
Quote:
body > p:first-child:first-letter { |
A better catch is something like
h1 + p:first-letter {
because multiple pseudo-classes/-elements (':first-child' is the former,
':first-letter' the latter) are either prohibited or buggily implemented.
Doesn't work in IE either, of course.
Quote:
font-size: 270%;
line-height: 40px; |
I guess that should be "1", which in this case shouldn't be
distinguishable from "100%" or "1em".
You need an explicit width with 'float' in CSS*2.0, something between
"1ex" and "1em" should do.
--
"You can only find truth with logic
if you have already found truth without it."
G.K. Chesterton