phpbuddy.eu
-


Hinweise


Antwort
 
LinkBack Themen-Optionen Thema durchsuchen Thema bewerten
Alt 30.08.2006, 20:15   #1
TP-Member
 
Benutzerbild von Mortis
 
Registriert seit: May 2005
Mortis macht alles soweit korrekt

hover über class zuweisen - funzt im FF nicht (IE ist ok)


Ich geb auf.

habe direkt folgenden html-Code im body:

PHP-Code:
<body>
    <
div id="sli-03_">
        <
class="m1" href="news.html"></a></div>
</
body
und irgendwo im CSS-Code liegt wohl der Fehler. Wenn man alles rauslöscht außer den definierten classes und id's, dann funktioniert es auch im FF.
Mit diesem Code jedoch wird kein Bild angezeigt. Gar keins.

PHP-Code:
/* Camplair */

body {
     
margin0px;
        
/*der Trick, jetzt klappts im IE*/
    
text-aligncenter;
     
background-color#000000; }

img {
    
display:block;
    
behavior:url("pngbehavior.htc"); }

/* <div>s */    
    
#center{
     
position:relative;
    
top0px;
    
width850px;
        
/*der Trick, jetzt für FF*/
     
margin-left:auto
     
margin-right:auto; }
    
#fenster{ 
     
positionrelative;
    
float:left;
     
top180px;
     
left220px;
     
width:570px
    
padding-bottom15px;
     
text-alignright; }
    
#site-name { 
    
position:relative;
    
float:none;
    
margin-left:auto
     
margin-right:0; } 

#inhalt{
     
positionrelative;
    
float:left
    
topauto;
    
padding-top10px;
    
padding-left10px;
    
padding-right10px;
    
padding-bottom10px;
    
text-alignleft; }

/* grundsätzliches Hyperlink-Aussehen */        


a:link text-decoration:nonecolor#FFFFFF; }
a:visited text-decoration:nonecolor#FFFFFF; }
a:hover text-decoration:nonecolor#993333; }
a:active text-decoration:nonecolor:#FFFFFF; }
a:focus text-decoration:nonecolor:#FFFFFF; }

/* verwendete Text-Stile */

.normal12 {font-familyArialHelveticasans-seriffont-size12pxcolor:#FFFFFF }
.gross {font-family:ArialHelveticasans-seriffont-size16pxfont-weight:bold; }
.
klein {font-family:ArialHelveticasans-seriffont-size10pxcolor:#666666; }

/* Photoshop-Slices-Code */

#Tabelle_01 {
    
position:absolute;
    
left:0px;
    
top:0px;
    
width:850px;
    
height:860px;
}

#sli-01_ {
    
position:absolute;
    
left:0px;
    
top:0px;
    
width:850px;
    
height:288px;
}

#sli-02_ {
    
position:absolute;
    
left:0px;
    
top:288px;
    
width:64px;
    
height:572px;
}



#sli-04_ {
    
position:absolute;
    
left:156px;
    
top:288px;
    
width:694px;
    
height:572px;
}

#sli-05_ {
    
position:absolute;
    
left:64px;
    
top:302px;
    
width:92px;
    
height:15px;
}

#sli-06_ {
    
position:absolute;
    
left:64px;
    
top:317px;
    
width:92px;
    
height:19px;
}

#sli-07_ {
    
position:absolute;
    
left:64px;
    
top:336px;
    
width:92px;
    
height:15px;
}

#sli-08_ {
    
position:absolute;
    
left:64px;
    
top:351px;
    
width:92px;
    
height:19px;
}

#sli-09_ {
    
position:absolute;
    
left:64px;
    
top:370px;
    
width:92px;
    
height:15px;
}

#sli-10_ {
    
position:absolute;
    
left:64px;
    
top:385px;
    
width:92px;
    
height:19px;
}

#sli-11_ {
    
position:absolute;
    
left:64px;
    
top:404px;
    
width:92px;
    
height:15px;
}

#sli-12_ {
    
position:absolute;
    
left:64px;
    
top:419px;
    
width:92px;
    
height:17px;
}

#sli-13_ {
    
position:absolute;
    
left:64px;
    
top:436px;
    
width:92px;
    
height:15px;
}

#sli-14_ {
    
position:absolute;
    
left:64px;
    
top:451px;
    
width:92px;
    
height:17px;
}

#sli-15_ {
    
position:absolute;
    
left:64px;
    
top:468px;
    
width:92px;
    
height:13px;
}

#sli-16_ {
    
position:absolute;
    
left:64px;
    
top:481px;
    
width:92px;
    
height:19px;
}

#sli-17_ {
    
position:absolute;
    
left:64px;
    
top:500px;
    
width:92px;
    
height:14px;
}

#sli-18_ {
    
position:absolute;
    
left:64px;
    
top:514px;
    
width:92px;
    
height:23px;
}

#sli-19_ {
    
position:absolute;
    
left:64px;
    
top:537px;
    
width:92px;
    
height:323px;
}

<!-- 
Photoshop -->

/* hover */

.m1 {
    
background-image:url(slices/sli_03.jpg);
    
background-repeat:no-repeat;
    
display:block;
    
height14px;
    
width92px; }
.
m1:hover {
    
background-image:url(slices/hover_03.jpg);
    
display:block;
    
height14px;
    
width92px;}
    
.
m2 {
    
background-image:url(images/menu_09.jpg);
    
background-repeat:no-repeat;
    
display:block;
    
height14px;
    
width92px;}
.
m2:hover {
    
background-image:url(images/hover/hover_09.jpg);
    
display:block;
    
height14px;
    
width34px;} 

Geändert von Mortis (30.08.2006 um 21:13 Uhr).
Mortis ist offline   Mit Zitat antworten


Alt 30.08.2006, 21:13   #2
TP-Member
 
Benutzerbild von Mortis
 
Registriert seit: May 2005
Mortis macht alles soweit korrekt
Damn, es lag einfach an einer Zeile

<!-- irgendwas -->

Die hatte ich im CSS-Code drin aus Versehen. Mist!
Mortis ist offline   Mit Zitat antworten
Antwort

  Aktuelles Thema
  TP Hilfe Forum > Web-Editoren & Coding > HTML Puristen
hover über class zuweisen - funzt im FF nicht (IE ist ok) hover über class zuweisen - funzt im FF nicht (IE ist ok)
« Verschiebung meines Blogs | Warum zeigt der IE das X-Symbol für "kein Bild" an, obwohl es ja angezeigt wird? »

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 
Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine 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
Gehe zu


Alle Zeitangaben in WEZ +2. Es ist jetzt 03:25 Uhr.

Powered by: vBulletin Version 3.7 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. / Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Traum-Projekt.com | Suchen | Archiv | Impressum | Kontakt | | | Nach oben |



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

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