hi leute
ich hab ein problem mit CSS, es hängt mit mozilla firefox zusammen.
bei einem projekt will ich eine navigations-leiste in 'nem iframe erstellen. soweit, sogut, kein problem mit IE.
wenn man sich das ganze nun aber mit mozilla firefox anschaut ist das ein bisschen blöd.
dort wird nämlich die angabe "width:155px" einfach nicht interpretiert, will meinen dass der kasten um den link nur die breite des textes plus padding hat! was tun?
hier der quelltext:
gruß Domovoi
ich hab ein problem mit CSS, es hängt mit mozilla firefox zusammen.
bei einem projekt will ich eine navigations-leiste in 'nem iframe erstellen. soweit, sogut, kein problem mit IE.
wenn man sich das ganze nun aber mit mozilla firefox anschaut ist das ein bisschen blöd.
dort wird nämlich die angabe "width:155px" einfach nicht interpretiert, will meinen dass der kasten um den link nur die breite des textes plus padding hat! was tun?
hier der quelltext:
HTML:
<html>
<head>
<style type="text/css">
a:link { font-weight:bold; color:#FFFFFF; width:155px; text-align:center; padding:3px; background-color:#005F00; border:1px #FFFFFF solid; text-decoration:none; }
a:visited { font-weight:bold; color:#FFFFFF; width:155px; text-align:center; padding:3px; background-color:#005F00; border:1px #FFFFFF solid; text-decoration:none; }
a:hover { font-weight:bold; color:#FFDF00; width:155px; text-align:center; padding:3px; background-color:#009F00; border:1px #FFDF00 solid; text-decoration:none; }
a:active { font-weight:bold; color:#FFDF00; width:155px; text-align:center; padding:3px; background-color:#009F00; border:1px #FFDF00 solid; text-decoration:none; }
</style>
</head>
<body text="#000000" bgcolor="#005F00" link="#FF0000" alink="#FF0000" vlink="#FF0000">
<p><a href="">bla</a><br></p>
</body>
</html>
gruß Domovoi