Autor Beitrag
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Do 22.12.05 20:39 
Moinmoin.

Bin grad am Grübeln, warum der InternetExplorer wieder so einen Mist fabriziert. Hier die Beispiel-HTML:

ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  <html>
    <head>
      <title>
        none
      </title>
    </head>
    <body>
      <div onmouseover="alert('Alarm')" style="position: absolute; width: 250px; height: 250px; border-style: solid none solid solid;">
         
      </div>
    </body>
  </html>


Wenn ihr im InternetExplorer über nen Rand auf das DIV fahrt, wird onmouseover aufgerufen. Wenn ihr aber über die rechte Seite bei border-style: solid kommt, dann nicht. Im FireFox kommt's bei beiden Möglichkeiten.

Wie bekomme ich das hin, dass der InternetExplorer das auch macht?

Danke schonmal.

coucou,
WeBBy


//EDIT: Es funktioniert, sobald man eine background-color definiert. Allerdings hab ich ein Hintergrundbild, kann also keine feste Farbe nehmen.

_________________
Steht der Bauer im Gemüse, hat er später grüne Füße.
JayK
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1013



BeitragVerfasst: Do 22.12.05 20:54 
wieso solltest du keine Hintergrundfarbe definieren können? "Überschreibt" das Hintergrundbild die etwa nicht? :shock:
Müsste es eigentlich soweit ich weiß :gruebel:
WeBsPaCe Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Do 22.12.05 21:12 
Moinmoin.

Ich versteh' deine Antwort nicht ganz... :gruebel: :lol:

coucou,
WeBBy

_________________
Steht der Bauer im Gemüse, hat er später grüne Füße.
JayK
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1013



BeitragVerfasst: Do 22.12.05 21:14 
Setze mal die Background-Color auf irgendeinen Wert ;)
Soweit ich weiß, wird dann trotzdem dein Background-Image darüber (in Tiefenrichtung ;)) angezeigt. Wenn das nich geht, dann kann ich dir nich helfen :(
WeBsPaCe Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Do 22.12.05 21:17 
Moinmoin.

Jetzt hab ich's verstanden. Aber geht nicht, weil ich ja das Hintergrundbild nicht im DIV hab, sondern im BODY. Ich müsste im DIV eine Hintergrundfarbe angeben. Und damit hab ich so nen Klecks im Gesamtbild drin. ;)

coucou,
WeBBy


//EDIT: Mit background-color: transparent; geht's auch nicht. Schon ausprobiert. ;)

_________________
Steht der Bauer im Gemüse, hat er später grüne Füße.