On Fri, 17 Dec 2004 09:02:25 +0930, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I have a class .pmi in my page and I want style the first line of > differently so that the first line is smaller than the second line. The > code below doesn't seem to work and I was wondering if it was because of > the <br/> tag in my html.
.pmi p:first-line { font-size: 1.2em; } You say that the first line of any element p in .pmi should have a different font-size. Try and change it to: p.pmi:first-line { font-size: 1.2em; } -- Cheers, Rob. » http://zooibaai.nl ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************