The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Target Browser Code Not Working
I’ve just about finished my entire website and was testing it in Chrome which looks perfectly fine. But when I view my website in IE8 it is all messed up.
I’ve tried using the following code:
Then in my ie8-and-up.css stylesheet I changed the body color to green. When I view it in IE8 the color doesn’t change. Why isn’t this working?
You can view my website at: http://www.darbymanufacturing.com/test-darby-website-2012/index.html
You’re pointing to “ie8-and-up.css”, which will look for http://www.darbymanufacturing.com/test-darby-website-2012/ie8-and-up.css and that one doesn’t exist. You should point to http://www.darbymanufacturing.com/test-darby-website-2012/styles/ie8-and-up.css: