Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialKris Byrum
32,636 Pointsie 8 still not rendering CSS properly
So I've attempted to build a separate css stylesheet for ie8, I've added specific html class selector for ie8 elements, but I still can't get this website to render the css properly.
Here is the website: sallyshowman.com
This is my first official website that I was making to get some practice after taking lessons here.
Every other browser looks okay, but good old ie8 and below.... well are being fun.
Anyone have any suggestions on how to get the css to render properly?
If needed I can post the css.
3 Answers
Jason Anello
Courses Plus Student 94,610 PointsHi Kris,
Are you using html5shiv on your site? https://github.com/aFarkas/html5shiv
IE8 doesn't have support for the new html5 elements. The shiv allows styling of html5 elements in IE below version 9. It still doesn't understand the tags but you can at least style them.
I would put that in first if you haven't already. Then see what problems remain.
I'm of the opinion that you shouldn't worry about things like box shadows or rounded corners in IE8. I would mostly worry about layout issues in IE8. Make sure the basic site without all the bells and whistles looks ok in IE8.
jaredcowan
11,808 PointsYou live in WA. Why use IE at all? lol
You are using shadow boxes and stuff. Did you check if that is compatible with IE8? Also did you use webkit prefix?
Kris Byrum
32,636 PointsI really wish IE wasn't here!!!
I did add some prefixes to my css, although I know that shadow boxes and some other things don't work in ie.
I'm just attempting to make the layout close to every other browser
Kris Byrum
32,636 PointsI really wish IE wasn't here!!!
I did add some prefixes to my css, although I know that shadow boxes and some other things don't work in ie.
I'm just attempting to make the layout close to every other browser
Kris Byrum
32,636 PointsThanks Jason.
i haven't tried the shiv yet. There appears to be a few different options to address the problem. I'll check this out and see what happens.
Thanks!