table cell with a background does not seem to like an image link?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Anseur
    Senior Member
    • Jun 2004
    • 130
    • 4.1.x

    table cell with a background does not seem to like an image link?

    So, I'm trying to insert this into a vB4 template. I don't think the problem is anything to do with vB and would exist on any page I tried to create.

    So, here's the code for my table.

    Code:
    <table class="mcoavatar">
     <tr>
      <td width="60px" height="60px" rowspan=3 background="/vb4test/images/wow/{vb:raw post.field7}{vb:raw post.field5}{vb:raw post.field6}.gif"></td>
      <td width="18px" height="18px" background="/vb4test/images/wow/{vb:raw post.field7}{vb:raw post.field5}.gif"></td>
     </tr>
     <tr>
      <td width="18px" height="18px" background="/vb4test/images/wow/{vb:raw post.field6}.gif"></td>
     </tr>
     <tr>
      <td width="18px" height="18px" background="/vb4test/images/wow/Alliance.gif" /> <a target="_blank" href="[URL]http://armory.wow-europe.com/character-sheet.xml?r=Shadowsong&n={vb:raw[/URL] post.username}"><img scr="/vb4test/images/wow/transparent.gif" width="18" height="18"></img></a> 
    </td>
     </tr>
    </table>
    The result does not work 100% as I wish. But a different thing is broken in Firefox than is broken in IE8.

    In IE8 it just pretends the link dosen't exist it shows the background to the celll (the one with the 'shield' in it) and it cannot be clicked on. in firefox, you get the little "broken image" box, constrained to the 18x18 image size over the top of the cell background, and the link works fine, even if the image is broken. As you can probably guess the "transparent.gif" image is a 18x18 .gif image that is just a 100% transparant square.

    Am I doing something very wrong here?

    Click image for larger version

Name:	table1.jpg
Views:	1
Size:	41.2 KB
ID:	3712522
    MCO Raid Alliance - Shadowsong EU MCO guild home.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...