diades
08-16-2002, 05:16 PM
Hi Guys
I have been looking and looking to no avail.
IE has had, since IE4, the use of:
expression( [function or script expression])
within a style block declaration to dynamically set the value of a css property.
Does Netscape v6+ and/or mozilla have anything of the sort?
<style type="text/css">
div{position:absolute;
top:expression((document.documentElement.offsetHeight * 0.15) + 'px');}
</style>
nb: If this is in the wrong forum, I apolagise, just move it wherever:)
I have been looking and looking to no avail.
IE has had, since IE4, the use of:
expression( [function or script expression])
within a style block declaration to dynamically set the value of a css property.
Does Netscape v6+ and/or mozilla have anything of the sort?
<style type="text/css">
div{position:absolute;
top:expression((document.documentElement.offsetHeight * 0.15) + 'px');}
</style>
nb: If this is in the wrong forum, I apolagise, just move it wherever:)