CSS problem i menu - Joomla
Jeg er igang med et site i Joomla, hvor menuen driller lidt.Når jeg vælger en undermenu, ønsker jeg flg.:
1. Hovedmenuen skal stå samlet, som den gør som standard
2. Undermenuen skal placeres venstre-stillet, som hovedmenuen
3. Den aktuelle side skal også være markeret i undermenuen
Testsitet ligger her: http://lundogvinding.prolightweb.dk/
CSS'en ser sådan her ud:
@charset "utf-8";
body, html {
font-family: Verdana, Arial, Helvetica, sans-serif;
color:#FFF;
background-color: #000;
background-repeat: repeat;
margin: 0px;
font-size: 12px;
font-style: normal;
font-weight: normal;
height: 100%;
text-align: center;
}
#container {
position: absolute; left: 50%; top: 50%;
width: 800;
height: 600;
margin-left: -416px;
margin-top: -300px;
padding: 15px;
}
#left_top {
width: 350px;
height: 175px;
border: 1px solid #FFF;
float: left;
}
#right_top {
margin-left: 375px;
width: 425px;
height: 175px;
border: 1px solid #FFF;
}
#content {
width: 770px;
height: 325px;
padding: 5px 15px 0px 15px;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: none;
border-left-style: solid;
border-top-color: #FFF;
border-right-color: #FFF;
border-bottom-color: #FFF;
border-left-color: #FFF;
text-align: left;
overflow: auto;
}
#content p{
font-family: Verdana, Geneva, sans-serif;
font-size: 11px;
font-weight: normal;
color: #FFF;
line-height: 18px;
}
#content p a:link, #content p a:visited{
color: #CCC;
text-decoration: none;
}
#content p a:hover{
color: #FC3;
text-decoration: none;
}
#content h1{
font-family: Verdana, Geneva, sans-serif;
font-size: 18px;
font-weight: bold;
color: #FFF;
}
#menu {
width: 800px;
height: 40px;
}
#menu ul{
list-style-type: none;
margin: 0;
padding: 6px 0 0 0;
}
#menu li{
font-size: 12px;
float: left;
padding-right: 20px;
}
#menu a:link, #menu a:visited{
color: #fff;
text-decoration: none;
text-transform: uppercase;
}
#menu a:hover{
border-top: 2px solid #FFF;
}
#menu li.active a:link, #menu li.active a:visited{
color: #666;
}
#menu li li{
font-size: 10px;
margin-top: -1px;
float: left;
padding-right: 20px;
}
#menu li li a:hover{
border-top: 1px solid #FFF;
}
#menu li li.active a:link, #menu li li.active a:visited{
color: #666;
}
#footer {
height: 12px;
width: 800px;
border-top-width: thin;
border-top-style: solid;
border-top-color: #666;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-right-color: #FFF;
border-bottom-color: #FFF;
border-left-color: #FFF;
padding-bottom: 10px;
}
#footer p{
margin-top: 2px;
}
