Menu

#1 IE vs Firefox

open
nobody
None
5
2010-07-30
2010-07-30
No

Need a fairly generic way to handle differences between IE and Firefox. Although it would be nice to stay out of that business, its almost impossible to implement working code with taking it into account :(.

Example:
element.style.cssFloat = "Firefox";
element.style.styleFloat = "InternetExplorer";

Im sure there are a few others. The easiest fix may be to simply extract the attribute name resolution into a separate method that simply calls both?

Discussion


Log in to post a comment.