CSS (position:relative) und Links

Status
Nicht offen für weitere Antworten.

Wolfsbein

Erfahrenes Mitglied
Hallo folgender Code funzt mir dem IE
Code:
<body>
<table border="1" cellspacing="0" cellpadding="0">
<tr>
	<td width="300"><img src="trip_1.jpg"><br>
	    <a href="#1"><img src="trip_2small.jpg" style="position:relative; left: 290px; top: -50px;" border="0"></a>
	    <a href="#2"><img src="trip_3small.jpg" style="position:relative; left: 200px; top: -20px;" border="0"><a>
	    <a href="#3"><img src="trip_4small.jpg" style="position:relative; left: 90px; top: -10px;" border="0"></a>



</table>
</body>
Leider aber nicht mit Opera 6. Da sich hier die Links dort befinden, wo die Bilder ohne Positionsangabe wären.
Kann man da was machen?
 
öhm hab zwar keine plan von opera und in wie weit das css mag ;)

aber prinzipiell tät ich nen table-row und table-data tag auch wieder zumachen wenn du die aufmachst also so hier:

Code:
body>
<table border="1" cellspacing="0" cellpadding="0">
<tr>
	<td width="300"><img src="trip_1.jpg"><br>
	    <a href="#1"><img src="trip_2small.jpg" style="position:relative; left: 290px; top: -50px;" border="0"></a>
	    <a href="#2"><img src="trip_3small.jpg" style="position:relative; left: 200px; top: -20px;" border="0"><a>
	    <a href="#3"><img src="trip_4small.jpg" style="position:relative; left: 90px; top: -10px;" border="0"></a>
  </td>
 </tr>


</table>
</body>

jode dem war das, wat sonst noch is guck ich moa :)
 
position:relative macht in netscape und opera probleme.......screib position:absolute hin...dann kannste die teile einfach positionieren wie du willst!

Code:
top: -50px

das müsste doch "weg" sein......das wäre 50px ausserhalb des sichtbaren bereichs......hmmm vielleicht bei "relative" nicht :) musste dir für "absolute" noch was ausdenken
 
position:relative bockt schon immer im netscape....wie das genau bei opera is weiss ich nicht......ich benutze nur "absolute"
 
Status
Nicht offen für weitere Antworten.
Zurück