Solved

HTML table

Posted on 2011-03-16
2
248 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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" …
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

747 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

10 Experts available now in Live!

Get 1:1 Help Now