Link probleme

Status
Nicht offen für weitere Antworten.

nfsmw15

Mitglied
Hallo,

Ich habe ein problem mit einer Verlinkung kann mir dabei einer helfen.

HTML:
<a href="http://privat.pytalhost.de/autostart/listen.asx"><td width="29" height="26" background="http://web2.39135.vs.webtropia.com/scripts/img/streambox_08.gif"></td></a>

Warum klappt diese Verlinkung nicht und kann mir jemnad helfen das hinzu bekommen?

Ich bedanke mich schon mal im vorraus für eure hilfe.
 
Hi,

in einem Hyperlink kann keine Tabellenzelle eingebunden werden, verwende stattdessen das Grafikelement img:

Code:
<a href="http://privat.pytalhost.de/autostart/listen.asx"><img src="http://web2.39135.vs.webtropia.com/scripts/img/streambox_08.gif" width="29" height="26" border="0" alt="" /></a>
 
Dann habe ich aber das problem das das ganze wo dieser code drin steht sich verschiebt und anders weiß ich nicht wie ich das hinbekomme^^ hier ist das ganze script:


HTML:
<table width="125" border="0" cellspacing="0" cellpadding="0" align="">
    <td height="9"  background="http://web2.39135.vs.webtropia.com/scripts/img/black/streambox_03.gif"></td>
  </tr>
    <td height="12"  background="http://web2.39135.vs.webtropia.com/scripts/img/black/streambox_05.gif"></td>
  </tr>
    <td height="3"  background="http://web2.39135.vs.webtropia.com/scripts/img/black/streambox_06.gif"></td>
  </tr>
  <tr>
    <td><table width="125" border="0" cellspacing="0" cellpadding="0">
        <tr>
<td width="4" height="26" background="http://web2.39135.vs.webtropia.com/scripts/img/black/streambox_07.gif"></td>
<td width="29" height="26" background="http://web2.39135.vs.webtropia.com/scripts/img/black/streambox_08.gif"></td>
<td width="29" height="26" background="http://web2.39135.vs.webtropia.com/scripts/img/black/streambox_09.gif"></td>
<td width="29" height="26" background="http://web2.39135.vs.webtropia.com/scripts/img/black/streambox_10.gif"></td>
<td width="29" height="26" background="http://web2.39135.vs.webtropia.com/scripts/img/black/streambox_11.gif"></td>
<td width="5" height="26" background="http://web2.39135.vs.webtropia.com/scripts/img/black/streambox_12.gif"></td>
        </tr>
      </table></td>
  </tr>

    <td width="125" height="8" background="http://web2.39135.vs.webtropia.com/scripts/img/black/streambox_13.gif"></td>
  </tr>

    <td width="125" height="5" background="http://web2.39135.vs.webtropia.com/scripts/img/black/streambox_14.gif" align="center"><table width="115" border="0" cellspacing="0" cellpedding="0" align="center">
      <tr>
        <td><marquee scrollamount="1" scrolldelay="1"><font size="1" color="#000000"><b>'.$song[0].'</b></font></marquee></td>
      </tr>
    </table>
  </tr>

    <td width="125" height="9" background="http://web2.39135.vs.webtropia.com/scripts/img/black/streambox_15.gif"></td>
  </tr>

    <td><table width="125" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="3" background="http://web2.39135.vs.webtropia.com/scripts/img/black/streambox_16.gif"></td>
          <td width="118" height="24" background="http://web2.39135.vs.webtropia.com/scripts/img/black/streambox_17.gif"></td>
          <td width="4" background="http://web2.39135.vs.webtropia.com/scripts/img/black/streambox_18.gif"></td>
        </tr>
      </table></td>
  </tr>
    <td height="6" background="http://web2.39135.vs.webtropia.com/scripts/img/black/streambox_19.gif"></td>
  </tr>
</table>
 
Wenn ich das richtig überblicke, kannst du es so machen:

Code:
<td width="4" height="26" background="http://web2.39135.vs.webtropia.com/scripts/img/black/streambox_07.gif"></td>
<td width="29" height="26"><a href="http://privat.pytalhost.de/autostart/listen.asx"><img src="http://web2.39135.vs.webtropia.com/scripts/img/streambox_08.gif" width="29" height="26" border="0" alt="" /></a></td>
<td width="29" height="26" background="http://web2.39135.vs.webtropia.com/scripts/img/black/streambox_09.gif"></td>
<td width="29" height="26" background="http://web2.39135.vs.webtropia.com/scripts/img/black/streambox_10.gif"></td>
<td width="29" height="26" background="http://web2.39135.vs.webtropia.com/scripts/img/black/streambox_11.gif"></td>
<td width="5" height="26" background="http://web2.39135.vs.webtropia.com/scripts/img/black/streambox_12.gif"></td>
        </tr>
 
Hi,

platziere den Link in die Zelle, zeichne ihn als Blockelement aus (display: block) und gib ihm die entsprechenden Grössenangaben.
Code:
<td width="29" height="26" background="http://web2.39135.vs.webtropia.com/scripts/img/black/streambox_08.gif"><a href="http://privat.pytalhost.de/autostart/listen.asx" style="text-decoration: none; display: block; width: 29px; height: 26px; font-size: 1px;">&nbsp;</a></td>
Vielleicht hilft Dir das weiter.

Ciao
Quaese
 
Status
Nicht offen für weitere Antworten.
Zurück