Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Including Conditional CSS

Go to End

3 Posts   1920 Views


Community Member, 33 Posts

28 August 2008 at 8:43pm

Hi Guys,

Does anyone know how I can add in conditional CSS for IE6 and IE7 through silverstripe?




Forum Moderator, 5523 Posts

28 August 2008 at 10:29pm

you can do it the standard conditional statement in the file, watch out though as the core styles will be included after your IE styles so you need to use higher selectors eg html #Blah p rather then #Blah p.. or you could include them via PHP -


Community Member, 33 Posts

30 August 2008 at 12:48am

Cheers for the link. :-)