Hi Guys,
Does anyone know how I can add in conditional CSS for IE6 and IE7 through silverstripe?
Cheers
Ryan
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Hi Guys,
Does anyone know how I can add in conditional CSS for IE6 and IE7 through silverstripe?
Cheers
Ryan
you can do it the standard conditional statement in the Page.ss 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 - http://www.silverstripe.com/site-builders-forum/flat/58061#post60072
Cheers for the link. :-)