|
|||
Margin IE7 und Firefox unterschiedlich
Hallo
ich habe ein kleines Problem mit CSS, evtl kann mir hier jemand helfen. Die Darstellung im IE7 und Firefox ist unterschiedlich => siehe Anhang. Dafür verwende ich folgendes CSS: Code: Code:
#top_menu ul { margin-top: 0; margin-left: 0; margin-bottom: 0; list-style: none; } kann mir da jemand behilflich sein? Grüsse |
Sponsored Links |
|
|||
Code:
<div id="top"> <div id="top_menu"> <div class="moduletable_menu"> <ul class="menu"> <li id="current" class="active item1"><a href="http://xxxdomainxxx/site2/"><span>Startseite</span></a></li> <li class="item2"><a href="/site2/index.php?option=com_chronocontact&Itemid=2"><span>Kontakt</span></a></li> <li class="item3"><a href="/site2/index.php?option=com_contact&view=contact&Itemid=3"><span>Kontaktformular</span></a></li> </ul> </div> </div> </div> Code:
#top_menu { float: left; margin: 88px 0 0 0 ; width: 100%; border: solid 1px; } #top_menu ul { margin-top: 0; margin-left: 0; margin-bottom: 0; list-style: none; } #top_menu li { float: left; /* margin: 0 6px;*/ padding: 0; height: 39px; border-right: solid 1px; border: dotted 1px; /* background: url(../images/menu_li.jpg) center right no-repeat;*/ } #top_menu li:hover { } #top_menu li a#active_menu-nav { color: #C3D859; } #top_menu li a { font-family: Verdana, sans-serif; font-size: 12px; float: left; display: block; line-height: 37px; padding: 0 15px; color: #FFF; text-decoration: none; font-weight: normal; /* background: url(../images/menu_li_a.jpg) center left no-repeat;*/ } |
|
|||
Zitat:
Das war es genau, ich hatte den padding: 0; nicht und deshalb gab es den Unterschied... funktioniert nun einwandfrei. Danke für die schnelle Hilfe! |
Themen-Optionen | |
Ansicht | |
|
|
Ähnliche Themen | ||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
Frage zu horizontalen Linien | marvin1989 | CSS | 3 | 29.12.2009 23:35 |
Untermenü im IE | nici | CSS | 10 | 22.06.2009 21:19 |
Darsrtellungsproblem im Firefox und IE6 IE7 klappt | cyberoner1 | CSS | 1 | 10.03.2009 10:01 |
[Abstand zwischen zwei DIV] und [overflow] in Firefox und IE unterschiedlich | sailscape | CSS | 7 | 11.10.2008 03:28 |
IE und Firefox Darstellung unterschiedlich | muhkuh22 | CSS | 1 | 16.03.2008 15:36 |