Moin, zusammen!
Habe eine Seite mit einem zentrierten Div und einem positionierten Link-Div darin.
Im IE klappt es - Moz sieht einfach keinen Link darin und ich habe _keine_ Ahnung warum! Habe ich nur Tomaten auf den Augen, betriebsblind oder was?
Musste den Code hier anhängen, weil ich von zu Haus nicht auf den Server komme, also nicht steinigen, bitte!
....................code..........................
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Link-Problem</title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<style type="text/css">
<!--
body {
background-color:black;
}
#back {
width:1px;
height:1px;
position:absolute;
top:50%;
left:50%;
}
#inhalt {
width:550px;
height:450px;
position:relative;
top:-225px;
left:-275px;
border:1px dotted white;
}
#menu {
color : white;
background-color : black;
height : 20px;
width : 300px;
position : relative;
top : 50px;
left : 10px;
}
#menu a:link {
color : white;
font : normal normal 12px Arial, Helvetica, sans-serif;
text-decoration : none;
background-color : black;
}
#menu a:hover {
color : red;
text-decoration : none;
background-color : black;
border : none;
}
-->
</style>
</head>
<body>
<div id="back">
<div id="inhalt">
<div id="menu">
<a href="xy.htm">Dies soll ein Link sein - auch in Mozilla</a>
</div>
</div>
</div>
</body>
</html>
.....................code..............
Sieht jemand den Fehler? Ich weiß grad nicht weiter!
Danke!
Gruß
Der Hans