![]() |
| | LinkBack | Themen-Optionen | Thema bewerten | Ansicht |
|
#1
| |||
| |||
Hallo, Habe meine Seite neu aufgesetzt. Jetzt habe ich das Problem, dass mein Menue im IE nicht direkt unter dem Logo beginnt. Im Opera und Firefox funktioniert es (die nutzen aber eine andere css). Hat jemand einen Tip?? Die DIVS Logo, Menu sind in dem DIV Sidebar. Trailer ist das grosse Bild, Top das blaue Menue PS: Wie poste ich solch einen Code richtig? Hier die Seite: Home Und die momentan verwendete css: img { display:block; } div, img { margin:0px; padding:0px; border:0px; } body { margin: 0px; padding: 0px; background: #800000; font-family: Georgia, "Times New Roman", Times, serif; font-size: 13px; color: #666666; } p, h1, h2, h3, h4, h5, h6 { } h1 { font-size: 18px; } blockquote { font-style: italic; } /* Page */ #page { width: 980px; margin: 0 auto; background: #FFFFFF url(images/greenline.jpg) repeat-y; } /* Sidebar */ #sidebar { float: left; } /* Logo */ #logo { width: 240px; background: #808080; } /* Menu */ #menu { float: left; padding: 0px; width:240px; } /* trailer */ #trailer { float: right; width: 740px; } /* top */ #top { float: right; width: 725px; font: bold 10px Verdana,Arial; clear:both; background-color:#000463; text-align:right; color:#FFFFFF; padding:5px; padding-right:10px; } #top a { text-decoration: none; color:white; } /* Content */ #content { float: right; width: 740px; background-color:#FFFFFF; } /* Footer */ #footer { width: 980px; height: 120px; margin: 0 auto; background: url(images/img12.gif) repeat-x; } #footer p { margin: 0; font-size: 85%; } #links { float: left; width: 220px; height: 45px; padding: 35px 0 0 20px; background: url(images/img13.gif) repeat-x; } #links a { color: #FFFFFF; } #legal { float: right; width: 720px; height: 45px; padding: 35px 0 0 20px; } |
|
#2
| |||
| |||
| ich hab mir das mal genauer angeschaut. als erstes solltest du im container #top das entfernen: clear: both; dass das menü nicht oben anfängt hat nichts mit deiner css zu tun. im quelltext sollte das hier nicht drin stehen: <div id="menu"> <img src="fileadmin/images/linie_weiss.gif" width="240" height="1"><br> <a href=" ........... das rotmarkierte muss wech. das macht dir dort einen umbruch rein. außerdem gibts im xhtml nicht das <br> das sollte dann eher so ausschauen <br /> |
![]() |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | Thema bewerten |
| |
Ähnliche Themen | ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| Seitentyp Abstand: wie im GMENU? | mavo | GMENU, HMENU, TMENU und Co. | 1 | 27.03.07 21:42 |
| gmenu: glecher abstand | zefix | GMENU, HMENU, TMENU und Co. | 0 | 17.03.07 19:39 |
| Seiten Typ Abstand? | dirvish | TYPO3 3.x Backend | 4 | 20.11.06 08:59 |
| Abstand von den Inhalten | arnie83 | TYPO3 3.x Fragen und Probleme | 2 | 25.07.06 16:23 |
| Abstand von <H1> zum <p> fließtext | novoxx | TYPO3 3.x Fragen und Probleme | 20 | 07.02.05 12:47 |