Neuweltkamel
Irgendwo muss da wohl noch "display: none" hin............aber wo.
Hier der CSS Code:
...und hier der html:
Es wär ganz nett, wenn jemand die Lösung für mich wüsste.
Die Untermenüs sollen beim klicken des entsprechenden Obermenüs zum Vorschein kommen.
Danke
Geli
Hier der CSS Code:
HTML:
@charset "utf-8";
body {
font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
margin: 0;
padding: 0;
color: #000;
background-image: url(Images/MilkwayEarthBG.jpg);
background-repeat: no-repeat;
background-color: #000;
}
ul, ol, dl {
padding: 0;
margin: 0;
}
h1, h2, h3, h4, h5, h6, p {
margin-top: 0;
padding-right: 15px;
padding-left: 15px;
}
a img {
border: none;
}
a:link {
color:#414958;
text-decoration: underline;
}
a:visited {
color: #4E5869;
text-decoration: underline;
}
a:hover, a:active, a:focus {
text-decoration: none;
}
.container {
width: 80%;
max-width: 1260px;
min-width: 720px;
font-size: 12px;
background-position: center top;
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
padding-top: 0px;
padding-right: 15px;
padding-bottom: 15px;
padding-left: 15px;
background-size: 100%;
}
.header {
display: block;
padding: 12px;
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
border-radius: 20px;
-moz-box-shadow:inset 0 0 20px #CACACA;
-webkit-box-shadow:inset 0 0 20px #CACACA;
box-shadow:inset 0 0 20px #CACACA;
background-image: url(Images/TW_Text2.png);
background-position: right center;
background-repeat: no-repeat;
border: 2px solid #666
}
.sidebar1 {
float: left;
width: 22%;
color: #FFF;
margin-top: 15px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
border-radius: 20px;
-moz-box-shadow:inset 0 0 20px #CACACA;
-webkit-box-shadow:inset 0 0 20px #CACACA;
box-shadow:inset 0 0 20px #CACACA;
background: #000000; /* Fallback IE 6-8 */
background: rgba(0, 0, 0, .6);
border: 2px solid #666;
padding-top: 15px;
}
.content {
float: right;
width: 73%;
padding: 12px;
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
border-radius: 20px;
-moz-box-shadow:inset 0 0 20px #CACACA;
-webkit-box-shadow:inset 0 0 20px #CACACA;
box-shadow:inset 0 0 20px #CACACA;
background: #000000; /* Fallback IE 6-8 */
background: rgba(0, 0, 0, .6);
color: #FFF;
margin-top: 15px;
margin-right: 0px;
margin-bottom: 15px;
margin-left: 0px;
border: 2px solid #666;
}
.content ul, .content ol {
padding: 0 15px 15px 40px;
}
ul.nav {
list-style: none;
margin-bottom: 15px;
}
ul.nav li {
list-style-type: none;
}
ul.nav a, ul.nav a:visited {
display: block;
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
border-radius: 20px;
-moz-box-shadow:inset 0 0 12px #CACACA;
-webkit-box-shadow:inset 0 0 12px #CACACA;
box-shadow:inset 0 0 12px #CACACA;
border: 1px solid #666;/* Fallback IE 6-8 */
border: 1px solid rgba(0, 0, 0, .6);
text-decoration: none;
color: #9CF;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 5px;
padding-left: 15px;
margin-top: 5px;
margin-right: 8px;
margin-bottom: 5px;
margin-left: 8px;
}
ul.nav a:hover, ul.nav a:active, ul.nav a:focus {
color: #FFF;
background: #009; /* Fallback IE 6-8 */
background: rgba(0, 0, 153, .6);
-moz-box-shadow:inset 0 0 20px #9CF;
-webkit-box-shadow:inset 0 0 20px #9CF;
box-shadow:inset 0 0 20px #9CF;
}
.footer {
padding: 12px;
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
border-radius: 20px;
-moz-box-shadow:inset 0 0 20px #CACACA;
-webkit-box-shadow:inset 0 0 20px #CACACA;
box-shadow:inset 0 0 20px #CACACA;
clear: both;
color: #FFF;
border: 2px solid #666;
width: 73%;
float: right;
}
.fltrt {
float: right;
margin-left: 8px;
}
.fltlft {
float: left;
margin-right: 8px;
}
.clearfloat {
clear:both;
height:0;
font-size: 1px;
line-height: 0px;
}
HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>3D_Animation</title>
<link href="Stylesheet_Easy.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="container">
<div class="header"><a href="#"><img src="Images/Logo_Ani1RKl.gif" id="Insert_logo" /></a>
<!-- end .header --></div>
<div class="sidebar1">
<ul class="nav">
<li><a href="#">3D Animation</a>
<ul>
<li><a href="#">3D_Untermenü_1</a></li>
<li><a href="#">3D_Untermenü_2</a></li>
<li><a href="#">3D_Untermenü_3</a></li>
<li><a href="#">3D_Untermenü_4</a></li>
</ul>
<li><a href="#">360° Präsentation</a>
<ul>
<li><a href="#">360°_Untermenü_1</a></li>
<li><a href="#">360°_Untermenü_2</a></li>
</ul>
<li><a href="#">Impressum</a></li>
</ul>
<p> Diese Links sind noch nicht aktiv</p>
<!-- end .sidebar1 --></div>
<div class="content">
<h1>Headline</h1>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, </p>
<h2>little Headline</h2>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, </p>
<h3>ittleHeadline</h3>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, </p>
</div>
<div class="footer">
<p>Hier kommen die Füße rein :-) </p>
<!-- end .footer --></div>
<!-- end .container --></div>
</body>
</html>
Es wär ganz nett, wenn jemand die Lösung für mich wüsste.
Die Untermenüs sollen beim klicken des entsprechenden Obermenüs zum Vorschein kommen.
Danke
Geli