1 reply [Last post]
misha79
misha79's picture
Offline
newbie
Last seen: 8 years 26 weeks ago
Timezone: GMT-5
Joined: 2014-02-07
Posts: 1
Points: 2

Hi

I am using browser specific styles so that my style- gradient be supported in all versions of IE.
For eg For Dojo-
.dj_ie7 .dj_ie8 {}

.dj_ie9{

}

My question is : If I know my product customer is not going to be used with IE7, but for uniformity with other css, I want to keep dj_ie7 support in my CSS (which will not be used) , how much overload it is going to give in performance.

In many places in our CSS, we have dj_ie7.

Is it that IE (modern versions) interprets all versions and causes load?

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 1 day ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5344
Points: 2965

Hi misha79, Most browsers

Hi misha79,
Most browsers will ignore styles when the selector isn't matching anything.
I think you will find the new IE versions are pretty much like the other modern browsers and won't need specific hacks.