Thomas J.S.: CSS-Änderungen in Netscape

Beitrag lesen

Hallo Simon!

Du kansst es so versuchen ähnlich wie im <../../tfbe.htm#a2>
document.layers[i].display = "none";
document.layers[AktuellerText-1].display = "block";

z.B. CSS-syntax:
<style type="text/css">
div.text { display:none; }
<style>
Netscape Javascript-syntax:
<style type="text/javascript">
classes.text.div.display="none";
</style>
oder um es mal "extremer" zu machen ;-)
<style type="text/javascript">
with (tags.P) {
backgroundColor="#CCCCFF";
borderStyle="outset";
borderColor="blue";
borderTopWidth="10pt";
borderBottomWidth="10pt";
borderLeftWidth="5pt";
borderRightWidth="5pt";
paddingTop="10pt";
paddingBottom="10pt";
paddingLeft="20pt";
paddingRight="20pt";
marginLeft= "20%";
marginRight="20%";
}
</style>
http://developer.netscape.com/docs/manuals/communicator/dynhtml/index.htm

Grüße
Thomas