[symfony-users] Re: How to add ie6 hack css?

2008-12-17 Thread Frank van Noorden
Hi Sid, Not really the symfony way, but I use this construction in the layout.php : Frank On Dec 16, 11:54 pm, "Sid Bachtiar" 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 > t

[symfony-users] Re: How to add ie6 hack css?

2008-12-17 Thread tef_be
You can test this it works for me : In your of the main template file I choose to make another file for IE6 for this project. Maybe you can change it to match your need. getContext()->getRequest()->getHttpHeader('User-Agent')) ) { echo stylesheet_tag('main'); }; ?> I know that you can al

[symfony-users] Re: How to add ie6 hack css?

2008-12-16 Thread Ant Cunningham
Also if yousing jQuery be sure that all external CSS loads before JS. If not loaded in this order jQuery can sometimes behave in unexpected ways in Safari (possibly all WebKit based browsers) and FF3. Just and FYI. :-) Bernhard Schussek wrote: > Hi Sid, > > Before your ending head tag, includ

[symfony-users] Re: How to add ie6 hack css?

2008-12-16 Thread Yevgeniy A. Viktorov
Hello, Please, take a look: http://groups.google.com/group/symfony-users/browse_thread/thread/66f60abd7bbdcb91/a5fd6b6f4d9f5a82?show_docid=a5fd6b6f4d9f5a82 Thanks. p.s. I prefer filter. On Wed, 2008-12-17 at 11:54 +1300, Sid Bachtiar wrote: > Hi, > > I'm working on a Symfony 1.0 project and

[symfony-users] Re: How to add ie6 hack css?

2008-12-16 Thread Bernhard Schussek
Hi Sid, Before your ending head tag, include the following code in layout.php: ... conditional comments ... 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