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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Table or Image Border

Status
Not open for further replies.

jalea148

Technical User
Jun 12, 2006
5
US
How do I get rid of the border between the images - here is a simple 2x2 table with each cell filled with the same image. A [1px?] space appears between each. Here is the code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<html xmlns="<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<body>
<table border="0"><tr><td><img src="lancermr06_06.jpg" width="102" height="76" /></td><td><img src="lancermr06_06.jpg" width="102" height="76" /></td></tr><tr><td><img src="lancermr06_06.jpg" width="102" height="76" /></td><td><img src="lancermr06_06.jpg" width="102" height="76" /></td>
</tr>
</table>
</body>
</html>
 
Try
Code:
<table border=0 [red]cellspacing=0 cellpadding=0[/red] ...>
<tr><td><img [red]border=0[/red] src=.....>
...

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
cellspacing=0 cellpadding=0 works just fine - thanx
 
You're welcome.

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top