• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 341
  • Last Modified:

Stylesheet not fully working in IE9

I have a linked stylesheet that was working great until suddenly IE9 started ignoring certain attributes like border-radius, box-shadow, and z-index. Everything still works perfectly in Safari and Firefox. Could this have something to do with the host since it originally worked?

I have
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> as the first line and
<link rel="stylesheet" href="style.css" type="text/css" /> as the linked stylesheet.

This is used to control a <ul> menu. I've wasted many hours trying to figure out a solution so any help would be greatly appreciated.

0
cockroach666
Asked:
cockroach666
  • 3
  • 3
1 Solution
 
SSupremeCommented:
Try this instead:<!DOCTYPE html>
0
 
cockroach666Author Commented:
Sorry, that didn't make any difference.

The 2 lines of code I included never changed between the time the web page worked and when it didn't. I don't believe it's anything I've done, since I've reduced the code to the bare minimum. I'm thinking it's some kind of miscommunication between the browser and host but I can't figure out what it could be.
0
 
SSupremeCommented:
Please prove a link for check this issue.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
cockroach666Author Commented:
GSA
0
 
SSupremeCommented:
Well I can see it the same way as in Firefox. Everything is in place and works fine.
If you can try to instal IE platform preview and check it there.
0
 
David S.Commented:
It sounds like IE may be set to use an older rendering mode. Open up the developer tools (one way is by pressing the F12 key) and check what the browser and document modes are set to.
0
 
cockroach666Author Commented:
Thank you so much. The document mode was set to IE7 so once I changed it to IE9 it works great. I must have fat fingered the change somewhere along the line and didn't realize it.

Thanks again, you're a life (and hair) saver!
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now