S
Shawn Modersohn
<script type="text/javascript">
var browser=navigator.appName
if (browswer="Microsoft Internet Explorer")
document.styleSheets[0].rules[4].style.left="50px"
</script>
IE does exactely what I hoped this script would do. Netscape says that
document.styleSheets[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=navigator.appName
if (browswer="Microsoft Internet Explorer")
document.styleSheets[0].rules[4].style.left="50px"
</script>
IE does exactely what I hoped this script would do. Netscape says that
document.styleSheets[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.