[TYPO3-german] CSS-Frage
Sandra Tyrchan | easymoments GmbH
info at easymoments.de
Tue Jun 8 12:17:30 CEST 2010
Hi Björn,
schmeiss den <p> Tag wieder raus, das ist nicht valide und mach aus dem link
ein display: block;
damit erreichst du genau, das was du brauchst.
und hier beisst du dich selbst:
#mainmenu ul li:hover, #mainmenu ul li.active
#mainmenu ul li a
Entweder nimmst du li oder a
Hier hast du mal einen BSP-Code von mir. Mußt halt auf dein Design noch
anpassen und active ergänzen...
#menu {
position: absolute;
top: 117px;
width: 965px;
height: 40px;
padding: 7px 0;
border-top: 1px solid #596c4e;
border-bottom: 1px solid #596c4e;
background: url(../img/menu.jpg) repeat-x 0 7px;
}
#menu ul {
float: right;
}
#menu ul li {
list-style: none;
display: inline;
}
#menu ul li a {
display: block;
float: left;
color: #507844;
background: #d6e9d5;
text-transform: uppercase;
text-decoration: none;
padding: 12px 16px;
border-left: 1px solid #507844;
font-weight: bold;
}
#menu ul li a:hover, #menu ul li a.active {
background: #507844;
color: #d6e9d5;
}
LG Sandra
--
I am using the free version of SPAMfighter.
We are a community of 7 million users fighting spam.
SPAMfighter has removed 10948 of my spam emails to date.
Get the free SPAMfighter here: http://www.spamfighter.com/len
The Professional version does not have this message
More information about the TYPO3-german
mailing list