> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Adam Martin
> Sent: Thursday, May 08, 2008 10:13 PM
> To: wsg@webstandardsgroup.org
> Subject: Re: [WSG] :: CSS Code Formatting ::
> 
> We use a very similar approach - php to deliver the css.
> This allows us to do some very cool things, such as target browsers with
> simple comments
> 
> For example:
> 
> /* IE
> button {
>      width: auto;
>      overflow: visible;
> }
> button span {
>      margin-top: 2px;
> }
> */
> 
> or we can even target browser versions
> 
> /* IE6
> button {
>      width: auto;
>      overflow: visible;
> }
> button span {
>      margin-top: 2px;
> }
> */


I'm not sure it is best practice to base the whole CSS logic on browser
sniffing.
Relying on browser *capabilities* sounds safer.


-- 
Regards,
Thierry | http://www.TJKDesign.com






*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to