News for hackers. Stuff that matters.
Re:Ie7-js by scrrr on Sunday January 09, 2011 @10:14AM (#2085574)
Before using this make sure you write valid HTML and valid CSS. I found this to be the best remedy for IE issues. Not that IE is particularly fond of standards, however, sometimes adding something like "position:relative" to the stylesheet will solve confusing problems.

For JS use Prototype or jQuery and voila, IE renders quite fine.

Re:Ie7-js by colorandcode on Sunday January 09, 2011 @01:44PM (#2086028)
position:relative helps fix a number of overflow and box model bugs in the IEs (especially IE7)
Re:Ie7-js by taitems on Sunday January 09, 2011 @05:14PM (#2086590)
Don't forget the even more magic cure-all: zoom: 1;

It doesn't cause z-index bugs like position relative does! :)

Re:Ie7-js by wookiehangover on Sunday January 09, 2011 @01:32PM (#2085991)
adding position:relative without knowing what it does... great advice
Re:Ie7-js by scrrr on Sunday January 09, 2011 @07:30PM (#2086945)
I didn't express myself well. It was an example where a style attribute may be implicit in one browser, but lead to incorrect rendering in another. In other cases it may be a hack. So I guess the advice is: be explicit.

btw: Microsoft must be the least "green" software-company ever. All the electricity spent on figuring out how to write css for IE.. :)