ERLEDIGT
NEIN
NEIN
ANTWORTEN
2
2
ZUGRIFFE
232
232
EMPFEHLEN
-
14.09.11 14:47 #1
- Registriert seit
- May 2005
- Beiträge
- 169
Hallo zusammen,
ich habe das Problem das das Menü total aus dem float läuft. Ich habe es so von Listmatic genommen dort auf der Seite geht es ja auch. Allerdings wenn ich das CSS und den HTML kopieren und lokal anwende läuft es aus dem float.
HTML-Code:<div id="navcontainer"> <ul id="navlist"> <li id="active"><a id="current" href="index.html">Startseite</a></li> <li><a href="seite1.html">Seite1</a></li><br /> <li><a href="seite2.html">Seite2</a></li> <li><a href="seite3.html">Seite3</a></li><br /> <li><a href="kontakt.html">Kontakt</a></li> </ul> </div>
Code :1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
/* Navigation */ #navcontainer { margin: 0; padding: 0; height: 22px; font: 11px Verdana, sans-serif; width: 100%; border-bottom: 1px solid #bbb; list-style-type: none; background: #fff; } #navlist li { float: left; margin: 0; padding: 0; width: auto; display: block; } #navlist li a, #navlist li a:link { background: #fff; color: #555; text-decoration: none; padding: 3px 5px 3px 5px; display: block; } #navlist li a:hover { color: #039; border-bottom: 3px solid #bbb; cursor: pointer; background: #eee; } #navlist li a#current, #navlist li a#current:link { color: #000; cursor: default; font-weight: bold; border-bottom: 3px solid #999; } #navlist li a#current:hover { border-bottom: 3px solid #f90; background: #eee; } /* Navigation ende */
Als Anhang ein Screenshot wie es aussieht.
-
Hallo,
nimm die BR-Elemente nach dem 2. und 4. LI-Element aus der Liste.
-
14.09.11 15:47 #3
- Registriert seit
- May 2005
- Beiträge
- 169
Ahhh...die habe ich nicht bemerkt. Wie peinlich, aber manchmal sieht man den Walt vor lauter Bäumen nicht . Vielen Dank.
Ähnliche Themen
-
Drop Down Menü - Float zentrieren?
Von Derk2 im Forum CSSAntworten: 25Letzter Beitrag: 21.02.10, 13:38 -
3 (!) Float-Probleme im IE6/7 (Float über die Grenzen eines Elements hinaus)
Von marco12 im Forum CSSAntworten: 14Letzter Beitrag: 28.09.08, 11:00 -
Menü wird durch float falsch dargestellt
Von Nils_13 im Forum CSSAntworten: 2Letzter Beitrag: 20.05.07, 21:56 -
Float Menü in index - Reload
Von laempisch im Forum Javascript & AjaxAntworten: 0Letzter Beitrag: 30.11.06, 11:55 -
Problem mit einem Drop Down Menü läuft nur unter IE
Von kleinhanjer im Forum Javascript & AjaxAntworten: 1Letzter Beitrag: 20.08.05, 03:12





Zitieren

Login





