Solved

CSS - IE10/IE9 vs. Chrome/Safari/Firefox

Posted on 2012-03-16
14
494 Views
Last Modified: 2012-06-27
Hi

I have the weirdest problem with som CSS.

I have attached 2 screenshots:

Website shown with Chrome
Website shown with IE10

Internet Explorer 10
Chrome
Test your browser at http://www.dsts.org

Hope you can help.
0
Comment
Question by:jensjakobsen
  • 8
  • 6
14 Comments
 
LVL 21

Expert Comment

by:Kim Walker
ID: 37731138
I think you have to take IE9 out of compatibility mode to see CSS3 stuff. I've not seen IE10 yet.
0
 
LVL 1

Author Comment

by:jensjakobsen
ID: 37731176
Meaning? Please describe the suggested ind detail if possible.
0
 
LVL 21

Expert Comment

by:Kim Walker
ID: 37731188
0
 
LVL 1

Author Comment

by:jensjakobsen
ID: 37731204
OK - according to the article a compatibility icon will appear if the website has issues with the browser.

According to my screnshot, this is not the case.

No compatibility view issues?
0
 
LVL 21

Expert Comment

by:Kim Walker
ID: 37731229
Can you post a link to the page? Which styles did you use? There are CSS3 styles that work in most all CSS3-compatible browsers. There are -moz styles that work in Firefox only. There are -webkit styles that work in Safari and Chrome only. You can use them all and the browser will ignore the ones it doesn't recognize.
0
 
LVL 1

Author Comment

by:jensjakobsen
ID: 37731244
OK.

The page is www.dsts.org.

I appreciate your help a lot.
0
 
LVL 21

Expert Comment

by:Kim Walker
ID: 37740467
Sorry for the delay. This is the first opportunity I've had to view the page in IE9. I do get the compatibility view icon in IE9 and am able to see the rounded corners in normal mode, squared corners in compatibility view mode. I don't see the gradient background image in either.

I believe you may have modified your CSS since I viewed this in Firefox and Chrome. I'm only seeing the CSS3 border-radius style now which is all you need for modern browsers. But the only gradient background image I see is a -moz-linear-gradient which is primarily supported by Firefox browsers. But the gradient does appear in Firefox, Safari, and Chrome in Windows 7.

I've attached a screen capture of what I'm seeing in IE9 in normal view mode.
IE9 normal (non-compatibility view) mode
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 1

Author Comment

by:jensjakobsen
ID: 37742111
I haven't modified the code.

Is there any issues with the new IE10 and CSS?
0
 
LVL 21

Expert Comment

by:Kim Walker
ID: 37742168
Frankly, I didn't know there was a version 10. When I go to Microsoft to download the latest version it takes me to IE9.
0
 
LVL 1

Author Comment

by:jensjakobsen
ID: 37846177
Sorry - I meant IE9.
0
 
LVL 1

Author Comment

by:jensjakobsen
ID: 38056760
It appears that there is no solution to this :(
0
 
LVL 21

Accepted Solution

by:
Kim Walker earned 500 total points
ID: 38057339
As I said before, the rounded corners did appear in IE9 when I was able to get to a computer with IE9. The gradient did NOT, but the only gradient I've found in your CSS is a -moz-linear-gradient which is only supported by Mozilla or Firefox browsers. Have you included any IE-compatible gradients?

Here is a good reference for CSS3 gradients which, interestingly enough, mentions IE10. There's a section titled "Trident (IE)" which has some good information about using filters for earlier versions of IE.
0
 
LVL 1

Author Comment

by:jensjakobsen
ID: 38127191
Thx for your anwser - I'll check tomorrow. I'm quite sure I've seen IE9 browsers handle the rounded corners I've specified in my CSS.
0
 
LVL 1

Author Closing Comment

by:jensjakobsen
ID: 38131427
This answer was able to show me why CSS works as it does in IE9.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

When writing CSS, there are a few simple rules that will make your life easier.    1. Using ‘* {box-sizing:border-box;}’. Using this will wrap all your elements in a nice little compact box-model that will give you the width you want, like so... …
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now