Solved

HTML table

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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

688 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