hi,
also ich probiere mal nochmal irgendwie hier hilfe für mein menü zu bekommen, weil ich es selber nicht hinbekomme und langsam aber sicher daran verzweifele.
ist der link (lasst euch nicht davon stören, das im ie das menü "noch" nicht geht)
das php:
Code:
<?php $dieseseite="index"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de">
<head>
<title>index</title>
<script type="text/javascript" src="javascript/script.js"></script>
<link rel="stylesheet" href="css/css.css" type="text/css"/>
</head>
<body class="body">
[color=red] <div id="ltopheader"></div>
<div id="header"></div>
<div id="nav"><?php include("php/nav.php"); ?></div>[/color]
</body></html>
das css dazu:
Code:
/* Fix IE. Hide from IE Mac \*/
* html ul li { float: left; height: 1%; }
* html ul li a { height: 1%; }
/* End */
/* Fix für Internet Explorer 3 Pixel*/
* html #ltopheader {
/* \*/
margin-right: -3px;
/* */
}
.body {
background-color:#ffffff;
}
#header {
height:105px;
background-color:#9BBBA2;
}
#ltopheader {
background-image: url(/img/ltop.gif);
width:506px; height:161px;
float:left;
}
#nav ul li a {
text-decoration: none;
background: #62AD6C;
padding: 5px;
border: 1px solid #555555;
border-bottom: 0;
display:block;
}
#nav {
position:relative;
top:200px;
float:left;
}
#nav ul {
list-style: none;
margin: 0;
padding: 0;
width: 150px;
border-bottom: 1px solid #555555;
}
#nav ul li {
position: relative;
}
#nav li ul {
position: absolute;
left: 149px;
top: 0;
display: none;
}
#nav a, #navigation span {
text-decoration: none;
}
#nav a:hover, #nav span {
color: yellow;
text-decoration: none;
background: #62AD6C;
padding: 5px;
border: 1px solid #555555;
border-bottom: 0;
display:block;
}
#nav li:hover ul, #nav li.over ul {
display:block;
}
#nav a {
color: red;
}
wär echt schön wenn es dafür eine lösung gäbe.
ich poste gern noch weiteren code, falls gebraucht.........