Hi Sid, Before your ending head tag, include the following code in layout.php:
<?php include_javascripts() ?> <?php include_stylesheets() ?> ... conditional comments ... </head> Javascripts and stylesheets are only appended at the end of the head section if they have not been included manually (which is the recommended way of doing, I think). Bernhard On Tue, Dec 16, 2008 at 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 Development > http://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 -~----------~----~----~----~------~----~------~--~---
