Re: Re: PHP programming strategy

From: Date: Sun, 09 Aug 2009 11:55:56 +0000
Subject: Re: Re: PHP programming strategy
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.general 
Request: Send a blank email to php-general+get-296507@lists.php.net to get a copy of this message
At 10:54 AM +1000 8/9/09, Clancy wrote:
On Sat, 8 Aug 2009 07:53:42 -0400, tedd.sperling@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

« previous php.general (#296507) next »