09.01.2005, 01:42
Hi Jürgen,
Danke für die schnelle Antwort.
Ich habe mal die Datei die ich includen will angehängt.
mfg Dom
Meine HTML-Datei:
document.write('<hmtl>');
document.write('<head>');
document.write('<link rel="stylesheet" href="../../css/menu.css" type="text/css">');
document.write('</head>');
document.write('<body>');
document.write('<table bgcolor="#ffffff" width="120" cellspacing="0" cellpadding="0" border="0"><tr><td>');
document.write('<table width="100%" cellspacing="1" cellpadding="3" border="0">');
document.write('<tr><td bgcolor="#526EB1"><font face="Verdana, Arial" size="2" color="#ffffff">Menü</font></td></tr>');
document.write('<tr><td class="menu_normal" onMouseOver="className='menu_over'" onMouseOut="className='menu_normal'">Home</td></tr>');
document.write('</tr><tr><td bgcolor="#526EB1"><font color="#FFFFFF" face="Verdana, Arial" size="2">Forum</font></td></tr>');
document.write('</table></td></tr></table>');
document.write('</body>');
document.write('</html>');
Meine CSS-Datei:
<style type="text/css">
<!--
.menu_normal
{
background-color:#526EB1;
border: 1px solid #ffffff;
padding: 1px;
}
.menu_over
{
background-color:#ffffff;
border: 1px solid #FF0000;
padding: 1px;
}
body { background-color:#526EB1; }
A.navi { font-family:Arial, Helvetica, sans-serif; color: #ffffff; font-size: 12pt; font-weight:normal; font-style:normal; text-decoration: none}A:hover.navi { color: #FF0000;text-decoration: none }
-->
</style>
Danke für die schnelle Antwort.
Ich habe mal die Datei die ich includen will angehängt.
mfg Dom
Meine HTML-Datei:
document.write('<hmtl>');
document.write('<head>');
document.write('<link rel="stylesheet" href="../../css/menu.css" type="text/css">');
document.write('</head>');
document.write('<body>');
document.write('<table bgcolor="#ffffff" width="120" cellspacing="0" cellpadding="0" border="0"><tr><td>');
document.write('<table width="100%" cellspacing="1" cellpadding="3" border="0">');
document.write('<tr><td bgcolor="#526EB1"><font face="Verdana, Arial" size="2" color="#ffffff">Menü</font></td></tr>');
document.write('<tr><td class="menu_normal" onMouseOver="className='menu_over'" onMouseOut="className='menu_normal'">Home</td></tr>');
document.write('</tr><tr><td bgcolor="#526EB1"><font color="#FFFFFF" face="Verdana, Arial" size="2">Forum</font></td></tr>');
document.write('</table></td></tr></table>');
document.write('</body>');
document.write('</html>');
Meine CSS-Datei:
<style type="text/css">
<!--
.menu_normal
{
background-color:#526EB1;
border: 1px solid #ffffff;
padding: 1px;
}
.menu_over
{
background-color:#ffffff;
border: 1px solid #FF0000;
padding: 1px;
}
body { background-color:#526EB1; }
A.navi { font-family:Arial, Helvetica, sans-serif; color: #ffffff; font-size: 12pt; font-weight:normal; font-style:normal; text-decoration: none}A:hover.navi { color: #FF0000;text-decoration: none }
-->
</style>