Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sorry I'm new here but I have a serious problem: I changed the CSS style sheet for IE7 for my site, but now when using IE7 it has no graphics and all of the scripts code is printed.

I have tried replacing the original stylesheet but it made no difference, so please suggest ways that I can fix this? If not, would it be possible to have an "Incompatible browser" message that only appears for IE7 users?

share|improve this question

migrated from serverfault.com Dec 10 '10 at 8:49

This question came from our site for professional system and network administrators.

    
Have you checked to make sure the correct style sheet is arriving in IE7? Can you try a guest or new user? –  benc Dec 10 '10 at 1:53
    
Sorry I couldn't reply with the same account - that one is not working; I'm really sorry if these questions sound ridiculous, but I'm only a student; Is there a way of checking if a stylesheet has successfully linked? I tried deleting the stylesheet and it made no difference so this could be the problem? –  Hamish Dec 10 '10 at 8:19
    
I visited your site, and the site loaded and displayed just fine in IE 7. It could be that there are problems specific to your web browser. Make sure you clear your browser cache, and if the problem persists, try accessing the site from another computer outside your office. –  Jacob Mar 11 '11 at 0:27
add comment

2 Answers 2

Adding onto Mick's reply, to help diagnose this particular problem you should use absolute URLs in your stylesheet and it would help for you to use some developer tools. Since IE7 is a bit dated, it doesn't come standard with debugging tools, but there is hope for us. You should give Fiddler2 a run and if needed, use Firebug Lite to supplement it. I've discovered that with these utilities, IE7 isn't that stressful to debug now.

share|improve this answer
add comment

Check the images and how you link them. They should be like this URL: /Images/image.jpg. The / at the beginning of the path is all important. This tells the browser and the server to "start looking for this image from the main folder".

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.