Hallo Sandra,

vielen Dank für dein Beispiel. Doch bei diesem ist es leider genauso, dass die 
Grafik Teile des Textes verdeckt. Leider :(

Viele Grüße

Björn

-----Ursprüngliche Nachricht-----
Von: typo3-german-boun...@lists.typo3.org 
[mailto:typo3-german-boun...@lists.typo3.org] Im Auftrag von Sandra Tyrchan | 
easymoments GmbH
Gesendet: Dienstag, 8. Juni 2010 12:18
An: 'German TYPO3 Userlist'
Betreff: Re: [TYPO3-german] CSS-Frage

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


_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an