Hallo an alle,
habe ein Problem mit meinem HTML/CSS Code. Wenn ich ihn im Chromium Browser öffne werden die Buttons mehrfach angezeigt. Hatte das gleiche Problem mit dem IE, was aber durch folgende Angabe gelößt war:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
Ich komme einfach nicht dahinter wo der Fehler steckt.
HTML Version 4.01 Strict
HTML:
Code
<p><a class="btn_menue" href="de_welcome.html" target="_self">
<div class="Schrift">Willkommen </div> </a></p>
CSS:
Code
div.Schrift
{
position: absolute;
left: 15px;
width: 127px;
text-align: center;
}
a.btn_menue
{
display:block;
width: 142px;
height: 27px;
background-image:url(grafics/buttons/BTN_LINK.png);
text-align:center;
font-family: 'Calibri', sans-serif;
color: #000000;
font-size:80%;
background-color: #C0C0C0;
border-width: 1px;
border-style:solid;
text-decoration: none;
padding: 0;
margin-top: 10px;
margin-bottom: 10px;
}
a.btn_menue:hover
{
display:block;
width: 142px;
height: 27px;
background-image:url(grafics/buttons/BTN_OVER.png);
text-align:center;
font-family: 'Calibri', sans-serif;
color: #000000;
font-size:80%;
background-color: #C0C0C0;
border-width: 1px;
border-style:solid;
text-decoration: none;
}
Alles anzeigen