MichelM: zentrale Formate

Beitrag lesen

Hallo,
das zentrale formatieren geht bis Netscape 4.99 (CSS geht sowieso nur mit aktiviertem JavaScript) am besten mit JSSS (siehe selfhtml 7.0) und für neue Netscapes innerhalb eines nolayers-Tag:

<style type="text/javascript">
/* Code für Netscape 4.x */
<!--
contextual(tags.P,tags.DIV,tags.H5,tags.center).backgroundColor="darkslategray";
contextual(tags.DIV).fontFamily="Verdana";
contextual(tags.P,tags.DIV,tags.H5,tags.center).fontSize="14px";
ids["innen1"].color="White";
/* ids["innen1"].fgcolor="White"; may be testet */
ids["innen1"].Width="800px";
ids["innen1"].Height="400px";
ids["innen1"].backgroundColor="gray";

//-->
</style>

<nolayer>
<!-- Codes für neue Browser ab IE 4 und Netscape 6.0 -->

<STYLE  type="text/css">

a:link{text-decoration:underline;color:black;}
a:visited  {text-decoration:underline;color:black;}
a:hover{text-decoration:underline overline;color:sienna;background-color:wheat;}
DIV#BannerLYR {position:absolute;top:0px;left:21%; text-align:center; background-color:transparent;width:489px; z-index:1; visibility:hidden;}
.textobject{ font-size:10px; border:ridge 3px blue;visibility:inherit;background-color:wheat;z-index:10;}
DIV#innen1{ position:absolute;top:133px;  visibility:inherit;  height:400px;  font-size:14px;color:white; font-family:Verdana; background-color:gray;z-index:1;width:100%; }
</style>
</nolayer>

So, dann mal viel Spass beim testen.