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

Table/Cell Spacing

Status
Not open for further replies.

SvetsXpreS

Technical User
May 31, 2007
9
US
I am trying to put object in tables next to each other, but when I stack them next to each other I get a space in between each cell of the table. Is there a way to have them be directly next to each other with no noticible spacing? For example I have a white background and I am trying to put an image in one cell and a blue background with writing in the cell next to it, but I want the directly touching each other. When I do that, it gives me a spacing in between.

Thanks!
 
Try changing the Tables cellspacing and Cellpadding properties to 0.
Code:
<table cellpadding=0 cellspacing=0 ...><tr><td>....

----------------------------------
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