| Posted by Troy Piggins on 06/13/01 11:40 
I have a div class "note" which may or may not be more than one line oftext.
 
 <div class="note">
 text text dlkhf sdlkfjdsf
 sdlkfj sldkjf sdlkjf sldk jf
 dlfkjdlkjfldkjflkdjfljkd
 </div>
 
 I want the first line of "note" to be indented more than the others, so
 tried this in the stylesheet:
 
 div.note:first-line {
 padding-left: 30px;
 }
 
 But it seems to have no effect.  How do I achieve this?  The only
 examples I've seen operate on simple tags like p:first-line {...} etc.
 
 PS - I also tried div:first-line.note {...} but no effect either.
 
 Thanks for any pointers.
 
 --
 Troy Piggins
 Ubuntu 5.10  pkgs : kernel 2.6.12-9-386, postfix 2.2.4, procmail 3.22
 Compiled from src : slrn 0.9.8.1/rt (score_color patch), mutt 1.5.11i
 vim 6.4
 [Back to original message] |