Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Images with absolutly no border

Status
Not open for further replies.

KingofSnake

Programmer
Jul 25, 2000
73
US
I have four images, displayed on the screen like this:




So that Images 1 and 2 are on one line, and Images 3 and 4 are on another line. Is there anyway to reduce ALL white space between all four images, therefore, making the four images look like one single image? I can't have even a PIXEL of space between them.

Is that possible?
KingOfSnake - The only sports drink with ice crystals
(and marshmellos!)
 
Generally, people put them in a table, an easy way to order them, and keep them portable - you can get them that close by specifying:

<table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;...>

- also, if you have gaps like this:

<td> <img> </td>

you will get infuriating spaces - so keep the tags tight:

<td><img></td>

Also specify the right sizes - and make sure the images are he same height, and width, if you are making a square.
If the images are links, set border=&quot;0&quot; to get rid of the border which goes around them when you do this.
b2 - benbiddington@surf4nix.com
 
The space thing (<td> <img> </td> to <td><img><td>) worked! I didn't know that had an effect, but now that I think about it, it does make sense. Thanks.
KingOfSnake - The only sports drink with ice crystals
(and marshmellos!)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top