> h1 is styled to have 1.2em top margin. I like it, but not when h1 is
> the first thing in a tiddler

Well, in theory you could use the ":first-child" selector:
     .viewer h1 {
         color: green;
     }

     .viewer h1:first-child {
         color: red;
     }

However, that's not very well supported across browsers - in particular, 
IE6 doesn't support it:
     http://www.webdevout.net/browser-support-css#css2pseudoclasses


-- F.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to