Solved

HTML table

Posted on 2011-03-16
2
262 Views
Last Modified: 2012-05-11
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
Comment
Question by:darkbluegr
2 Comments
 
LVL 16

Accepted Solution

by:
sjklein42 earned 50 total points
ID: 35152476
This is what I usually use:

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

Open in new window

0
 

Author Comment

by:darkbluegr
ID: 35169020
thanks sjklein42!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Retrieve values of an HTML form using JQUERY 2 39
CSS measurement 10 34
Printing a Google Form 2 25
How can i modify my File download link ? 6 49
Introduction The Google Maps API offers various ways to draw dynamic and static maps.  Using a combination of PHP and JavaScript, you can draw active JavaScript maps that allow pan-and-zoom in the client browser window.  You can also draw "static" …
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now