Re: Re: PHP programming strategy

From: Date: Sun, 09 Aug 2009 12:05:34 +0000
Subject: Re: Re: PHP programming strategy
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.general 
Request: Send a blank email to php-general+get-296508@lists.php.net to get a copy of this message
On Sun, 2009-08-09 at 07:55 -0400, tedd wrote: > 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 > How does IE8 fare with selectors in CSS? Thanks, Ash http://www.ashleysheridan.co.uk

« previous php.general (#296508) next »