Hi Kirupians
I have 3 problems with CSS.
1) -- fixed.
- I need to change some of the CSS properties using JavaScript - I need the amount of visible pixels of the page. I know how to do this with JavaScript and this works in both browsers (luckily), but I can’t seem to set the CSS. At least, not in Mozilla, I managed to do it in IE with this code:
document.styleSheets[0].rules[0].style.height = (document.body.offsetHeight+71)+"px";
This works for IE, but not for Mozilla. Does anyone know how to make it work for Mozilla ?
3) Darn ... I forgot ... I'll update when it pops back into my head.
[size=1]I forget way too much ...[size=2]
Oh I remember ! I wanted to load in the css from an external file using
<||link type="text/css" href="cssfile.css" rel="stylesheet" />
(again, think away the ||)
Doing this screws up the entire layout. How come ?
[/size][/size]