ERLEDIGT
JA
JA
ANTWORTEN
1
1
ZUGRIFFE
375
375
EMPFEHLEN
-
Hallo,
ich habe ein Menü mit 'Tabs' gebastelt, welches in Firefox und IE korrekt dargestellt wird, aber in Opera gibt es ein Problem. Die Tabbutton-Reihe ist in einem Div(buttonframe) mit overflow:visible.
Der aktive tab-button verlängert seine Fläche nach unten, bis er auf den Rahmen des Tabs stößt. Aber Opera vergrößert die Höhe des Buttonframes einfach mit, sodass dann das ganze layout verschoben wird und aktiver button + tab nicht mehr zusammentreffen.
wie das aussieht, könnt ihr auf dem bild im Anhang sehen.
Hier folgt jetzt noch der CSS-Code für buttons und buttonframe (frame ist ein div, buttons sind div mit a drinnen):
HTML-Code:<div class="buttonframe"> <div class="button"><a>login</a></div> <div class="button"><a>register</a></div> <div class="button"><a>help</a></div> </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
.buttonframe{ margin-left:65px; height:20px; width:1085px; padding:7px 5px 4px 40px; background-color:#000; z-index:9600; border:1px solid #47c; border-bottom:none; overflow:visible; border-radius:7px 7px 0 0; -moz-border-radius:7px 7px 0 0; } .button{ display:inline-block; } .button a{ display:block; margin:0 5px; border:1px solid #47c; z-index:9750; padding:7px 8px 5px 8px; -moz-border-radius:5px 5px 0 0; border-radius:5px 5px 0 0; }
Im Prinzip scheint mein Problem ungefähr das zu sein, was auf http://css-tricks.com/the-css-overflow-property/ unter 'float clearing' beschrieben wird. Allerdings nutze ich gar kein Float an der stelle...
Kann mir bitte jemand von euch helfen?
-
erstaunlich, aber heute zeigt Opera das Menü plötzlich an wie es sein soll (OHNE dass ich etwas geändert hätte...). Also werde ich den Thread hier erst mal abhaken
Ähnliche Themen
-
[FF] Overflow: visible - Übergeordnete Element vergrößern
Von Every_b im Forum CSSAntworten: 4Letzter Beitrag: 19.02.09, 20:34 -
problem div gefloatet und automatische breite. overflow visible
Von hurzwurz im Forum CSSAntworten: 9Letzter Beitrag: 04.08.08, 16:34 -
Problem mit overflow:hidden im IE und Opera
Von psifactory im Forum CSSAntworten: 3Letzter Beitrag: 12.06.08, 19:07 -
overflow: hidden; IE, FF und Opera stellen es jeweils unterschiedlich dar
Von kollmann84 im Forum CSSAntworten: 2Letzter Beitrag: 07.03.08, 16:22 -
[CSS] Opera Problem mit overflow:auto
Von pearlfisher im Forum CSSAntworten: 0Letzter Beitrag: 31.03.05, 23:05





Zitieren
Login





