3 ms·
Yes, it's javascript overhead you have to add to your site so that people using IE will be able to see CSS3-like effects. So why add the overhead just so users
by smitjel 16y ago
Yes, it's javascript overhead you have to add to your site so that people using IE will be able to see CSS3-like effects. So why add the overhead just so users of IE can have rounded boxes and gradients. Why bother? It's just eye candy...
- compay 16y agoOn many sites, IE 6-8 users account for more than half of visits, and are often the single largest block of visitors by browser. Assuming you have such a site and don't want to just write off 50% of your users design-wise, it's nice to have the ability to use border-radius and other CSS3 advances, because they save you from a lot of time-consuming, repetitive work. If you are in a situation where you can simply forget about what your site looks like in IE, then I envy you. Most web designers are not.
- smitjel 16y agoNo, that strictly depends on how you've designed your site. To have your site look the best in ALL browsers, make subtle use of CSS3 effects. Don't _rely_ on them. If you follow that, you won't be writing off "50%" of your users design-wise.
- compay 16y agoSure, but then you're writing off CSS3 and continuing to write code as if it were 2006, which I personally don't like having to do.
- powrtoch 16y agoLet's not forget conditional comments. The overhead for other browsers could be completely negligible.
- smitjel 16y agoExcellent point. lojjic, you should illustrate that in the docs somewhere.
- epe 16y agoI don't believe it's any Javascript overhead for non-IE browsers. It's just a single line of CSS: behavior: url(path/to/PIE.htc); that non-IE browsers will simply ignore.