Dreamweaver/html/table problem

Discussion in 'Web Design & Programming' started by Ferg, Apr 18, 2007.

  1. Ferg

    Ferg Manbearpig

    Likes Received:
    0
    Trophy Points:
    16
    You'll have to bear with me as ive only been teaching myself to do this for a day so far but have come accross a real annoying prob:

    Ive been following mat's guide of how to use slices etc but when I add a hyperlink to an image in my header box it completely messes everything up, ive tried everything I can think of all afternoon to try and get round this but can't seem to work it out.

    here is before and after

    and this is the code for the table:
    Code:
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
       <td class="repeater"><div align="left"><a href="/index.html" title="Main"><img src="images/banner_name.gif" width="256" height="119" /></a></div></td>
       <td width=217><div align="center"><img src="images/banner_piture.gif" width="271" height="119" /></div></td>
       <td class="repeater"><div align="right"><img src="images/banner_adressdetail.gif" width="233" height="119" /></div></td>
      </tr>
    </table>
    
    Any thoughts?
     
  2. Ferg

    Ferg Manbearpig

    Likes Received:
    0
    Trophy Points:
    16
    fixed
    made this class in the css and applied it to the pic

    Code:
    .nopicborder {
    border:none;
    }
     
  3. Sniper

    Sniper Administrator Staff Member

    Likes Received:
    59
    Trophy Points:
    63
    you can use this is well, taken from HWF source

    HTML:
    <img src="http://www.hardwareforums.com/images/misc/vbulletin3_logo_white.gif" border="0" alt="Hardware Forums" />
     
  4. Ferg

    Ferg Manbearpig

    Likes Received:
    0
    Trophy Points:
    16
    Nice one snipe, i'll make a note of it :)
     

Share This Page