Solved

HTML table

Posted on 2011-03-16
2
284 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
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…
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…

749 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