|
|||
![]() Zitat:
|
Sponsored Links |
|
|||
![]()
achso, ja.
ich hab das jetzt alles mal gelöscht und fange neu an: HTML Code:
<div id="menu"> <ul> <li id="cornerleft"> <li id="news">[*][*][*][*][/list] </div> Code:
#menu ul { margin: 0; padding: 0; list-style-type: none; background: #3aff33; width: 800px; height: 33px; } #menu ul li { display: inline; } /*<group=menu>*/ #cornerleft { width: 50px; height: 33px; background: url(images/cornerleft.jpg) no-repeat; } #menu #news { width: 70px; height: 33px; background: url(images/menu01news.jpg) no-repeat; } |
Sponsored Links |
|
|||
![]() Zitat:
Dein #cornerleft hat in der Menüliste nichts verloren - das kann ein Hintergrundbild im ul-Element sein.. Warum zerschnipselst du deinen Header? Lass das doch als Gesamtbild und leg die Menüpunkte drüber. |
|
|||
![]()
So, hab mal auf eigene Faust etwas experimentiert.
und zwar, die[*] tags auf float:left gesetzt. Code:
#menu ul li { display: inline; width: 70px; height: 33px; float: left; } http://web2.codersx.net/neu2/ jedenfalls solls so aussehen: |
|
|||
![]() Zitat:
|
![]() |
Themen-Optionen | |
Ansicht | |
|
|
![]() |
||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
DIV statt Tabelle, für horizontale Navigationsleiste | Ashida | (X)HTML | 3 | 03.03.2016 20:03 |
Horizontale Navigationsleiste an ganzes Fenster anpassen | ILaRy | CSS | 4 | 24.05.2012 22:36 |
horizontale Navigationsleiste | Kaykay | (X)HTML | 3 | 04.11.2010 08:41 |
horizontale Navigationsleiste | Tobe | CSS | 0 | 20.07.2008 10:34 |
Horizontale Navigationsleiste | Marco D. | CSS | 10 | 19.08.2007 10:55 |