Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a javascript library to fix IE rendering bugs?

Our website looks great in all browsers except IE 6-8. We're not even using many CSS3 features. These are just plain old IE rendering bugs (like margins and padding). Before trying to apply a bunch of IE specific fixes, I was wondering if anyone knows of a javascript library that I could apply to fix a bunch of these typical bugs?

Update: Like I mentioned, we're not necessarily using any "modern" CSS3 features nor HTML5, so these are just typical IE 8 bugs where IE renders things differently than all the other browsers.

like image 235
Andrew Avatar asked Nov 25 '25 17:11

Andrew


2 Answers

Go for excellent normalize.css reset that takes care of most of it (also used by HTML5 Boilerplate)

Normalize.css is a customisable CSS file that makes browsers render all elements more consistently and in line with modern standards. We researched the differences between default browser styles in order to precisely target only the styles that need normalizing.

As for getting support of CSS3 for browsers that don't support it, check out CSS3Pie

like image 164
Sarfraz Avatar answered Nov 27 '25 08:11

Sarfraz


You don't need JavaScript; just use a CSS reset file: http://yuilibrary.com/yui/docs/cssreset/

That will work across most browsers to not only fix IE issues, but also make your site render more uniformly over different browsers.

like image 44
Chris Laplante Avatar answered Nov 27 '25 07:11

Chris Laplante



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!