Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Header Image Love


Recommended Posts

When all of my Header pics are like so:

<IMG SRC="images/boxes/table_search.gif" WIDTH=173 HEIGHT=20>


There is no space between the box contents and header, but when I attempt to convert the shopping cart image into a hyperlink as so:

<a href="shopping_cart.php"><IMG SRC="images/boxes/table_shoppingcart.gif" WIDTH=173 HEIGHT=20 border="0"></a>


I get some added spacing!!!


Is there anyway around this?


Thanks for your help.

- - - -

Sometimes, ignorance is bliss.

Link to comment
Share on other sites

Make sure the image is 173x20px.

Make sure there is no margin or padding on the table the anchor is in.


If none of this works... copy/paste the entire table this is in.

Perdure - Transparent Object Relational Persistence
Link to comment
Share on other sites

  • 10 months later...

Sorry for the obsolete response to this HA! I finally figured it out and never went back in this form to answer it.


(Yes yes, call my a hypocrite, normally i'm mad because i find these unanswered questions lying around in the forums.)


For some reason, I had to remove the </A> to the hyperlink and internet explorer will display it right!


It's technically "breaking" the HTML standard of course, but the way I had it before was right (I simply added the anchor tag , and the anchor itself adds space)


This problem however was only Internet Explorer specific. As always, when it comes to syntactically correct coding, Mozilla is the better browser :)

- - - -

Sometimes, ignorance is bliss.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...