TP Underground Lounge 07/08
-


Hinweise


Antwort
 
LinkBack Themen-Optionen Thema durchsuchen Thema bewerten
Alt 07.08.2003, 14:48   #1
TP-Veteran
 
Benutzerbild von Flow09
 
Registriert seit: Jun 2001
Ort: Wien
Flow09 ist auf einem guten Weg

Bilder-Links funktionieren im Moz und Opera nicht!


Hey!

Hab hier ein recht merkwürdiges Problem! Hab eigentlich nix anderes gemacht als einen ganz normalen Bild-Link! Allerding funktionieren die im Opera und Moz. Firebird nicht (im IE6 schon)!!

Hat mir die Sonne zu lang am Kopf geschienen oder überseh ich jetzt einfach nur was!

Quellcode:
Code:
<div class="linkcontainer">
<div class="linkcontainerBild">
<a href="http://www.abc.com" title="">
<img src="image/abc_thumb.jpg" alt="www.abc.com" /></a>
</div>
<div class="linkcontainerText">
<a href="http://www.abc.com" title="ABC">ABC</a>
</div>
</div>
Ich versteh es nicht!

lg
Flow
__________________
Lesser known Programming Languages #13: SLOBOL
... Although many compilers allow you to take a coffee break while they compile, SLOBOL compilers allow you to travel to Bolivia to pick the coffee. Forty-three programmers are known to have died of boredom sitting at their terminals while waiting for a SLOBOL program to compile. Weary SLOBOL programmers often turn to a related (but infinitely faster) language, COCAINE.

Geändert von prefix (08.08.2003 um 10:58 Uhr).
Flow09 ist offline   Mit Zitat antworten


Alt 07.08.2003, 14:54   #2
TP-Specialist
 
Registriert seit: Aug 2002
Ort: Nähe Wien
prefix ist auf einem guten Weg
hi flo,

schonmal versucht, den pfad zum bild absolut anzugeben? mach das bitte mal, schaun, ob es dann klappt!
prefix ist offline   Mit Zitat antworten
Alt 07.08.2003, 15:00   #3
TP-Veteran
 
Benutzerbild von Flow09
 
Registriert seit: Jun 2001
Ort: Wien
Flow09 ist auf einem guten Weg
Bringt auch nix! Es ist ja nicht so als würde der Link irgendwo falsch hingehen sondern wenn ich über das Bild fahre ist dort kein Link (Cursor wird nicht zur Hand)! Ich kann drauf rumklicken was ich will, da passiert nix!

lg
Flow
__________________
Lesser known Programming Languages #13: SLOBOL
... Although many compilers allow you to take a coffee break while they compile, SLOBOL compilers allow you to travel to Bolivia to pick the coffee. Forty-three programmers are known to have died of boredom sitting at their terminals while waiting for a SLOBOL program to compile. Weary SLOBOL programmers often turn to a related (but infinitely faster) language, COCAINE.
Flow09 ist offline   Mit Zitat antworten
Alt 07.08.2003, 15:04   #4
TP-Specialist
 
Registriert seit: Aug 2002
Ort: Nähe Wien
prefix ist auf einem guten Weg
mein junge, ich tippe da mal auf ein cache-problem bei deinen browsern - hier ein beispiel - ganz gleich - anderes bild

oder du hast die klassen derart verwirrt, dass sie nicht mehr wissen, was sie tun

aber das glaub ich nicht - ich denk, es ist der cache!
prefix ist offline   Mit Zitat antworten
Alt 07.08.2003, 15:10   #5
TP-Veteran
 
Benutzerbild von Flow09
 
Registriert seit: Jun 2001
Ort: Wien
Flow09 ist auf einem guten Weg
nö, isses auch nicht! Der Cache ist leer und es will trotzdem nicht!

Krank!

lg
Flow
__________________
Lesser known Programming Languages #13: SLOBOL
... Although many compilers allow you to take a coffee break while they compile, SLOBOL compilers allow you to travel to Bolivia to pick the coffee. Forty-three programmers are known to have died of boredom sitting at their terminals while waiting for a SLOBOL program to compile. Weary SLOBOL programmers often turn to a related (but infinitely faster) language, COCAINE.
Flow09 ist offline   Mit Zitat antworten
Alt 07.08.2003, 15:10   #6
TP-Specialist
 
Registriert seit: Aug 2002
Ort: Nähe Wien
prefix ist auf einem guten Weg
und funkt. mein beispiel auch auf deinen browsern?

EDIT
hast du DEIN beispiel online?
prefix ist offline   Mit Zitat antworten
Alt 07.08.2003, 15:11   #7
TP-Insider
 
Registriert seit: Dec 2001
Ort: einem Dorf unweit der längsten Theke der Welt
LANtastic ist auf einem guten Weg
Ne URL wäre auch nicht schlecht.
__________________
Wenn Du denkst Du denkst, denkst Du nur Du denkst, denn das denken von Gedanken ist gedankenloses Denken.
Wer braucht schon JavaScript ?
LANtastic ist offline   Mit Zitat antworten
Alt 07.08.2003, 15:12   #8
TP-Veteran
 
Benutzerbild von Flow09
 
Registriert seit: Jun 2001
Ort: Wien
Flow09 ist auf einem guten Weg
Is lokal und momentan kann ich auf den Webserver nix draufspielen!

lg
Flow
__________________
Lesser known Programming Languages #13: SLOBOL
... Although many compilers allow you to take a coffee break while they compile, SLOBOL compilers allow you to travel to Bolivia to pick the coffee. Forty-three programmers are known to have died of boredom sitting at their terminals while waiting for a SLOBOL program to compile. Weary SLOBOL programmers often turn to a related (but infinitely faster) language, COCAINE.
Flow09 ist offline   Mit Zitat antworten
Alt 07.08.2003, 15:13   #9
TP-Specialist
 
Registriert seit: Aug 2002
Ort: Nähe Wien
prefix ist auf einem guten Weg
fahr den pc runter, leer vorher nochmal den cache, trink ein bier, schalt wieder ein

ist zu 99% ein cache-problem! hatte ich auch schonmal - auf einmal hat es dann wieder geklappt
prefix ist offline   Mit Zitat antworten
Alt 07.08.2003, 15:15   #10
TP-Veteran
 
Benutzerbild von Flow09
 
Registriert seit: Jun 2001
Ort: Wien
Flow09 ist auf einem guten Weg
OK, mach ich! Bekom zwar hier kein Bier (bin in der Arbeit) aber 'ne Zigarette werd ich rauchen! Meld mich dann gleich wieder!

lg
Flow
__________________
Lesser known Programming Languages #13: SLOBOL
... Although many compilers allow you to take a coffee break while they compile, SLOBOL compilers allow you to travel to Bolivia to pick the coffee. Forty-three programmers are known to have died of boredom sitting at their terminals while waiting for a SLOBOL program to compile. Weary SLOBOL programmers often turn to a related (but infinitely faster) language, COCAINE.
Flow09 ist offline   Mit Zitat antworten
Alt 07.08.2003, 15:17   #11
TP-Specialist
 
Registriert seit: Aug 2002
Ort: Nähe Wien
prefix ist auf einem guten Weg
hast immer noch nicht gesagt, ob das beispiel bei meiner seite funktioniert!!!!!
prefix ist offline   Mit Zitat antworten
Alt 07.08.2003, 15:36   #12
TP-Veteran
 
Benutzerbild von Flow09
 
Registriert seit: Jun 2001
Ort: Wien
Flow09 ist auf einem guten Weg
Also, da bin ich wieder:

a) Ja, auf Deiner Seite funktioniert es in allen Browsern

b) ich hab alle Caches ausgeleert und den Rechner neugestartet --> gleiches Problem, nix hat sich geändert!

lg
Flow
__________________
Lesser known Programming Languages #13: SLOBOL
... Although many compilers allow you to take a coffee break while they compile, SLOBOL compilers allow you to travel to Bolivia to pick the coffee. Forty-three programmers are known to have died of boredom sitting at their terminals while waiting for a SLOBOL program to compile. Weary SLOBOL programmers often turn to a related (but infinitely faster) language, COCAINE.
Flow09 ist offline   Mit Zitat antworten
Alt 07.08.2003, 15:44   #13
TP-Veteran
 
Benutzerbild von Flow09
 
Registriert seit: Jun 2001
Ort: Wien
Flow09 ist auf einem guten Weg
Kann es vielleicht am CSS liegen!

Code:
.linkcontainer {
	height: auto;
	margin: 0px;
	padding: 0px;
	}

.linkcontainerBild {
	margin: 0px;
	padding:0px;
	height:auto;
	text-align: left;
	float: left;
	}

.linkcontainerText {
	position: relative;
	left: 5px;
	margin: 0px;
	padding-left:10px;
	height: 75px;
	text-align: left;
	line-height: 75px;
	vertical-align: middle;
	}

html>body .linkcontainerText {
	padding-left: 110px;
	}
__________________
Lesser known Programming Languages #13: SLOBOL
... Although many compilers allow you to take a coffee break while they compile, SLOBOL compilers allow you to travel to Bolivia to pick the coffee. Forty-three programmers are known to have died of boredom sitting at their terminals while waiting for a SLOBOL program to compile. Weary SLOBOL programmers often turn to a related (but infinitely faster) language, COCAINE.

Geändert von Flow09 (07.08.2003 um 15:51 Uhr).
Flow09 ist offline   Mit Zitat antworten
Alt 07.08.2003, 21:38   #14
TP-Insider
 
Registriert seit: Dec 2001
Ort: einem Dorf unweit der längsten Theke der Welt
LANtastic ist auf einem guten Weg
Kannst du nicht einfach mal eine URL posten, wo man sich das mal ansehen kann?
__________________
Wenn Du denkst Du denkst, denkst Du nur Du denkst, denn das denken von Gedanken ist gedankenloses Denken.
Wer braucht schon JavaScript ?
LANtastic ist offline   Mit Zitat antworten
Alt 08.08.2003, 10:55   #15
TP-Specialist
 
Registriert seit: Aug 2002
Ort: Nähe Wien
prefix ist auf einem guten Weg
so, die sache ist gerade von mir gelöst worden

@flo: uiui, mein junger padavan da hast aber ganz ganz viel an kritikmöglichkeiten an mich weitergegeben *hehe* - nein, im ernst! folgende punkte:

- warum gibst du einer relativ positionierten ebene einen left-wert?? weg damit
- warum kennzeichnest du die ebenen in der entwicklung nicht mit dünnen rahmen (damit man sieht, wie sie liegen)? bzw. mit einer hintergrundfarbe (ist besser, aufgrund des box-model-bugs)
- warum postitionierst du neben einer links-gefloateten ebene die rechte daneben nicht mit einem entsprechenden margin-left-wert?

so sah der falsche css-code aus (.linkcontainerBild -> bild, .linkcontainerText -> Text dazu rechts (dieser link funktioniert natürlich, da diese ebene die bildebene überlagert):

Code:
.linkcontainerBild {
	margin: 0px;
	padding:0px;
	height:auto;
	text-align: left;
	float: left;
	/* meine zusätze zum visualisieren */
	border: 1px solid red;
	}
	

.linkcontainerText {
	position: relative;
	left: 5px; /* bei pos-relative ein "left-wert"??? */
	margin: 0px;
	margin: 0px; /* großer fehler !!! */
	padding-left:10px;
	height: 75px;
	text-align: left;
	line-height: 75px;
	vertical-align: middle;
	/* meine zusätze zum visualisieren */
	border: 1px solid blue;
	}
für alle, die auch mal solche probleme haben, hier 3 screenshots:

1. so sah die falsche seite im ie6 aus (der interpretiert ja css in vielerlei hinsicht falsch, sodass er die falsche darstellung richtig rübergebracht hat):



2. so sah die falsche seite z.b. im op7 aus (er rendert RICHTIG) - achtet auf die blau umrandete ebene, welche das bild beinahe ganz miteinnimmt --> weil kein margin-left gegeben wurde!!!

dadurch wird nur der äußerst linke rand des bildes (wo die blaue ebene nicht mehr hinlangt) auch als link erkannt!!!

hier der in diesem problembereich richtiggestellte code:

Code:
.linkcontainerBild {
	margin: 0px;
	padding:0px;
	height:auto;
	text-align: left;
	float: left;
	/* meine zusätze */
	border: 1px solid red;
	width: 100px; /* da die bilder ja alle 100px breit sind */
	}
	

.linkcontainerText {
	position: relative;
	/*left: 5px;*/
	/*margin: 0px;*/
	margin-left: 110px; /* linker container 100px + 10px = 110px vom linken rand */
	padding-left:10px;
	height: 75px;
	text-align: left;
	line-height: 75px;
	vertical-align: middle;
/* meine zusätze */
	border: 1px solid blue;
	}


3. nach richtigstellung der definitionen zeigt sich ein anderes - richtiges bild (hier wieder op7):



mahh, ich hab ja sooo eine schöne handschrift in fireworks *hehe*

Geändert von prefix (08.08.2003 um 11:08 Uhr).
prefix ist offline   Mit Zitat antworten
Antwort

  Aktuelles Thema
  TP Hilfe Forum > Web-Editoren & Coding > HTML Puristen
Bilder-Links funktionieren im Moz und Opera nicht! Bilder-Links funktionieren im Moz und Opera nicht!
« Zentrieren | Preloader Farbe.... »

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 07:27 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