====== Emulating position:fixed CSS property under IE7 ====== Recently I've been figting with IE7 to act like Mozilla Firefox and allow position:fixed CSS properties to work properly. As I'm using PHP, I had to come up with a complex solution that worked correctly on both modern browsers. Since the CSS fix for IE7 is incompatible with Firefox I had to split the CSS in two by testing the user agent in PHP. The details are in the code:
Also see: * http://stackoverflow.com/questions/270494/enter-button-does-not-submit-form-ie-only-asp-net * http://www.gunlaug.no/contents/wd_additions_17.html * http://www.cssplay.co.uk/layouts/fixed.html {{tag>bugfix ie7 html php}} ~~LINKBACK~~