Re: problem with image in a table cell
by Mark C Horvath <mhorvath(at)shore.net>
|
Date: |
Wed, 05 Apr 2000 02:25:00 -0400 |
To: |
Cath White <cwhite(at)tinyonline.co.uk> |
Cc: |
hwg-techniques(at)hwg.org |
In-Reply-To: |
co |
|
todo: View
Thread,
Original
|
|
>I've got a problem with a new home page I'm designing based on a print
>design see:
>
>http://www.geocities.com/contrarymary_uk/index/INDEX.HTM
>
>Basically I want the red lozenge image to be flush left in the table cell
>with the small black text on the bluey/purple background but the background
>colour keeps bleeding to the left of the lozenge see Funding for US Study.
Hi Cath,
Try putting hspace="0" in the image tag. Without it, the browser is
assuming a default value of a few pixels around the image and allowing the
background color of the TD cell to show through. By the way, a very nice site.
Best wishes,
Mark Horvath
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA