Hi Sid, Not really the symfony way, but I use this construction in the layout.php :
<head> <!--[if lt IE 7]><script type="text/javascript" src="/js/pngfix.js"></ script><![endif]--> <link rel="stylesheet" type="text/css" media="screen" href="/css/ default01.css" /> <!--[if IE 6]><link rel="stylesheet" type="text/css" media="screen" href="/css/ie.css" /><![endif]--> <!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" href="/css/ie7.css" /><![endif]--> </head> Frank On Dec 16, 11:54 pm, "Sid Bachtiar" <[email protected]> wrote: > Hi, > > I'm working on a Symfony 1.0 project and needing to add an IE6 hack > CSS as the last CSS but need to add code to only include the CSS if > the browser is IE6. How can I do that? > > I added the code just above </head> in layout.php but it still would > not show up after other CSS files. Other CSS files always come last. > > Cheers, > > Sid > -- > Blue Horn Ltd - System Developmenthttp://bluehorn.co.nz --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
