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 trial

General Discussion

Chris Dziewa
Chris Dziewa
17,781 Points

Help with site compatibility issues/general feedback

I've been building my first wordpress site for a friend and this project has kind of begun to drag on a lot longer than I planned. Everything that could've gone wrong seemed to go wrong throughout this process. Another friend of mine has pointed out that my site doesn't work correctly in IE8. He was also experiencing problems on it in Chrome.

The site is here at Stafford Photo. I did this project for free and start my first paid project next week so I need to get this done. Would anyone be able to possibly take a look at this in internet explorer and let me know what I can do to fix it? Also, after adding drop downs for the site, my navigation tabs don't want to stay in their containers (originally they were supposed to float to the left border but I can't use the overflow property or it will not show the drop down.)

Here is a list of what I need to do:

+Fix browser compatibility issues (mainly ie) +Fix navigation tabs +remove dropdown for all touch capable devices

Also feel free to give me any design feedback. After this site I don't plan on using such difficult to code containers again. Thanks for your help guys!

2 Answers

Eric Martz
Eric Martz
16,007 Points

Chris,

When I visited the site on IE8, I noticed the following code displayed in the browser:

<!--[if gt IE8]> <![endif]--> <!--[if !IE]-->

I think the if !IE might need an end if

Also, I believe if you're testing for greater than IE8, the tag should look like this:

<!--[if gte IE 8]>
   Content here....
<![endif]-->

I hope this helps you get closer to finishing your project, and good luck!

Chris Dziewa
Chris Dziewa
17,781 Points

You know what I think I may have deleted that today. That might explain why the svg was funky for him. Please let me know if that changed anything.

Chris Dziewa
Chris Dziewa
17,781 Points

I also just realized that my search and replace didn't change the localhost location of the gif and svg within the ie comments.