
Download for free demo version of
Screen Tool:
screen capturing software for
Windows,
Linux (
static) or
MacOSX.
It will let you easily capture screen,
make annotations
and send it through Skype or save it.
For more details and shop click
here.
Questions/Answers regarding IE compatibility/hacks.
How can I dynamically apply stylesheet in IE by using innerHTML?
If you want that Internet Explorer apply stylesheet with assigned by javascript innerHTML you should enclose link tag within form tags. If it is already within some form, you won't have any problems, but if not, IE won't apply stylesheet definitions unless it is enclosed by form tags (even "dummy" form tags).
This won't work in IE (will work in Firefox):
var obj=document.getElementById('somediv').innerHTML='<link rel="stylesheet" type="text/css" href="stylesheet.css">';
but this will work even in IE:
var obj=document.getElementById('somediv').innerHTML='<form><link rel="stylesheet" type="text/css" href="stylesheet.css"></form>';
You need to
login to be able to post your answer.