the html codes "<br \/>" will result different in IE(6) and firefox(2.0.0.12 currently)
IE treats \ as back-splash .. but firefox thinks '\' is a regular character.
The DOM tree generated by IE is what we expect. firefox generates automatically an end-tag for '<br \>' : the </br \>
So. you CAN'T just fetch innerHTML from node with such html codes in it and expect getting the same html string in both IE and firefox.
2008年2月21日星期四
the way ie and firefox rendering html
at
23:30
订阅:
博文评论 (Atom)
没有评论:
发表评论