[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 301
  • Last Modified:

HTML table

I have created a table with image and text in diferent rows but I don't want to have space between them. I want them to be joined and look like one. I tried cell alignment but I don't have the result that I want.
 image
<table>
<tr>
	<td colspan="2">
		<p align="center">sample text</p>
	</td>
</tr>
<tr>
	<td colspan="2" >
		<img height="4" src="border.png" width="920" />
	</td>
</tr>
<tr>
	<td colspan="2" valign="top">
		<p class="footer">sample text</p>
	</td>
</tr>
</table>

Open in new window

0
darkbluegr
Asked:
darkbluegr
1 Solution
 
sjklein42Commented:
This is what I usually use:

<table cellspacing=0 cellpadding=0 border=0>

Open in new window

0
 
darkbluegrAuthor Commented:
thanks sjklein42!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now