You say you want the first line smaller than the second, but your css
will do exactly the opposite (once the selectors are fixed):

.pmi {
     font-size: 1.5em;
}
.pmi p:first-line {
     font-size: 1.2em;
}

Let me explain; if your default font size is 10px (it's not, but this
is just an eg.),  p.pmi's text will be 15px. Now, p.pmi:first-line is
1.2em -- that's 1.2 times it's default font size. Since
.pmi:first-line is a child of .pmi, it's inherited font size is 15px,
not 10. So the first line will actually have have a font size of 18px.
Not exactly what you were asking, but it's good to know how these things work :)

Andrew.
----------
http://leftjustified.net/
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to