Re: Re: PHP programming strategy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx (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


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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux