#1  
Alt 22.02.08, 12:51
Forum Stammgast
 
Registriert seit: 13.08.07
Ort: Ruhrgebiet
Beiträge: 107
micha182 eine Nachricht über ICQ schicken
Width-Tag für IE und FF

Hallo zusammen,

ich hatte ein Layer-Menu, dass im IE leider nicht richtig funktionierte. Anstelle der Table-Wraps habe ich dann Div-Wraps benutzt. Nun funktioniert es, wir aber in einem Browser immer falsch dargestellt. Setze ich width gar nicht, zeigt der FF es korrekt in einer Zeile.
Setze ich width, zeigt der IE es korrekt, aber im Firefox ist es total zerpflückt.

Code:
marks.MAINMENU= HMENU
    marks.MAINMENU {
         1 = GMENU_LAYERS
         1{
             layerStyle = position:absolute;VISIBILITY:hidden;width:150px;
              xPosOffset = -30
              lockPosition = y
              expAll=1
              leftOffset = 5
              topOffset = 27
              hideMenuWhenNotOver = 1
              hideMenuTimer=250
              relativeToParentLayer = 1
              relativeToTriggerItem = 1
              relativeToTriggerItem.addwidth = 1
              NO {
                  wrap=<div style="float:left;height:24px;width:107px;">|</div>
                  XY = [10.w]+18, 24
                  5=IMAGE
                  5.file=fileadmin/images/mainmenu.png
                  10 = TEXT
                  10.text.field = title
                  10.offset = 5,18
                  10.fontSize=13
                  10.fontColor=#293d6b
                  10.fontFace=fileadmin/verdana.ttf
              }
              RO<.NO    
              RO=1        
              RO{
                  5=IMAGE
                  5.file=fileadmin/images/mainmenu_ro.png
                  10.fontColor=#ffffff
              }  
         }
         2 = GMENU_LAYERS
         2{
             layerStyle =position:absolute;VISIBILITY:hidden;width:150px;border: 1px solid #98adbc;
             xPosOffset = -30
             lockPosition = y
             expAll=1
             leftOffset = 150
             topOffset = 0
             hideMenuWhenNotOver = 1
             hideMenuTimer=250
             relativeToParentLayer = 1
             relativeToTriggerItem = 1
             relativeToTriggerItem.addwidth = 1
             NO{
                 backColor = #bdcedc
                 XY = 150, 18
                 10 = TEXT
                 10.fontFace=fileadmin/verdana.ttf
                 10.fontSize=12
                 10.text.field = title
                 10.offset = 5,13
                 10.fontColor=#293d6b
             }
              RO<.NO
              RO = 1
             RO{
                  wrap=|<br>
                  backColor = #98b1c4
                10.fontColor=#ffffff
            }
        }    
    3 = GMENU
    3{
        expAll=1
        NO {
            wrap=|<br>
            backColor = #bdcedc
            XY = 150, 18
            10 = TEXT
            10.fontFace=fileadmin/verdana.ttf
            10.fontSize=12
            10.text.field = title
            10.offset = 5,13
            10.fontColor=#293d6b
        }
        RO<.NO
        RO=1
        RO{
            backColor = #98b1c4
            10.fontColor=#ffffff
        }  
    }
 }
Hat vielleicht jemand eine Idee, das zu umgehen?

Gruß

Micha
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
Sponsored Links
Unterstützen Sie das Forum und buchen Sie Ihren Webspace beim
T3N Testsieger, dem Webhoster der auch dieses Forum hostet!


  #2  
Alt 22.02.08, 13:08
Benutzerbild von Ling
TYPO3 Forum Team
Administrator
 
Registriert seit: 13.02.06
Ort: Villingen
Alter: 29
Beiträge: 115

Mal mit clear rumgespielt?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #3  
Alt 23.02.08, 09:27
Forum Stammgast
 
Registriert seit: 13.08.07
Ort: Ruhrgebiet
Beiträge: 107
micha182 eine Nachricht über ICQ schicken

Nein, clear habe ich bislang noch gar nicht benutzt. Aber es hat sich auch erledigt.. Der Darstellungsfehler des ursprünglichen Menus im IE ließ sich beheben: Ein Table-Element war überflüssig und hat wohl etwas für Verwirrung gesorgt, sodass der RollOver nicht immer gegriffen hat.

Gruß Micha
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
Antwort

Lesezeichen

Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Max Image Width in der rechten spalte kemuri Extension modifizieren oder neu erstellen 5 16.04.08 11:01
Gelöst flvplayer width und height nur zweistellig? Gluehstrumpf Alle anderen Extensions 1 09.04.08 10:11
IMAGE.params width -tag doemsche TYPO3 4.x Fragen und Probleme 1 13.12.07 07:48
table width im ie und ff anders typo3newbie HTML & CSS 10 11.10.07 17:54
image max width/height ML99 News (tt_news, mininews und Co) 2 30.03.07 15:41


Alle Zeitangaben in WEZ +1. Es ist jetzt 22:57 Uhr.


Powered by vBulletin® Version 3.8.4 (Deutsch)
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2

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 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165