firdouss.com

Fird’s Internet Explorer CSS Prayers & Ritual

Everytime I code a website, I will make sure I will adhere to the standards and “safe” workarounds as much as I could. But sometimes things just love to fail in IE. So I have this small baseless-ritual in my CSS file in almost all my templates:


/*
* Main CSS File
* Kucing Kelabu Designs (http://www.kucing-kelabu.com/)
*
* Browser Prayers (in case the CSS went roque)
* Now I lay me down to XHTML
* I pray the Browser Engine my CSS positioning to keep
* If I float beyond the DIV
* I pray the lord Bill Gate's soul to keep
*
* Hush little browser don't say a word
* and never mind the positioning you heard
* it's just the IE CSS bug under your bed
* in your browser in your head
*
* Exit Light. Enter Night.
* Take my fixes
*
* We're off to browser-compatiblity Land
*/
* {position: relative; zoom: 1;}

Yep. That’s one of the IE fixes. Do you guys have any? :D

Related Posts with Thumbnails
Share |

Post Your Comment!