3 ms·
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,
by scrrr 16y ago
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.
- wookiehangover 16y agoadding position:relative without knowing what it does... great advice
- scrrr 16y agoI 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.. :)
- colorandcode 16y agoposition:relative helps fix a number of overflow and box model bugs in the IEs (especially IE7)
- taitems 16y agoDon't forget the even more magic cure-all: zoom: 1; It doesn't cause z-index bugs like position relative does! :)