At 10:54 AM +1000 8/9/09, Clancy wrote:
On Sat, 8 Aug 2009 07:53:42 -0400, tedd.sperl...@gmail.com (tedd) wrote:
 >Also, if you use first-child, it could be taken down to:

<div class="pfm">
     <img src="Images/Nxxxxx.jpg">
     <p>Yanni Nxxxxx </p>
     <p>Sally Riordan Scholarship, 2007- </p>
</div>

Except that line 2 is smaller than line 1. In my scheme of things <p> has normal paragraph spacing, 'nrmltxtn' has zero spacing, and 'notetxtn' is a size smaller, also
with zero line spacing.


Yes, but using first-child you can make the first child <p> of class "pfm" whatever you want while making all other children <p>'s in the class something else.

But, as it was said, IE's have problems with first-child rules.

Cheers,

tedd

--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to