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

WordPress

Luke Ward
Luke Ward
9,154 Points

Navigation bar not looking right.

Ive followed along with the create your own wordpress theme videos and everything has gone great apart from the navigation bar for some reason it just doesn't look anything like it should. Whats wierd though is it displays correctly on mobile devices.

Here's my website so you can see it. http:www.lukewilliamward.co.uk

On my computer everything seems right i'm on a mac desktop.

2 Answers

Ok so what you need to do is change the css to make the nav look proper on ie, but thats a problem because it effects it on every other browser. So to fix is use the ie css hack. This hack allows you to create an ie only css page and add your style in there. For ex you create your ie only css page and just fix the margin or what ever is wrong with the nav bar. Here is a link for a more en depth explanation and codes. http://net.tutsplus.com/tutorials/html-css-techniques/quick-tip-how-to-target-ie6-ie7-and-ie8-uniquely-with-4-characters/

Luke Ward
Luke Ward
9,154 Points

Just tested on IE and on Google Chrome it works perfectly on google chrome. Windows PC.