<script type="text/javascript">
var browser=navigat or.appName
if (browswer="Micr osoft Internet Explorer")
document.styleS heets[0].rules[4].style.left="50 px"
</script>
IE does exactely what I hoped this script would do. Netscape says that
document.styleS heets[0].rules has no properties. Since this script is
targeted at IE anyway, should I be concerned? Also, is this script way
oversimplified? All the css rule does is shift an image slightly to
compensate for css overflow differences in the two browsers.
var browser=navigat or.appName
if (browswer="Micr osoft Internet Explorer")
document.styleS heets[0].rules[4].style.left="50 px"
</script>
IE does exactely what I hoped this script would do. Netscape says that
document.styleS heets[0].rules has no properties. Since this script is
targeted at IE anyway, should I be concerned? Also, is this script way
oversimplified? All the css rule does is shift an image slightly to
compensate for css overflow differences in the two browsers.
Comment