|
-
Oct 14th, 2003, 09:59 PM
#1
Thread Starter
New Member
HTML table - how to make no spacing between rows?
Hi
All I want is for there to be no space between the images (the tab images) and for there to be no space between
those images and the row below it.
I've tweaked every CSS and HTML tag I can think of. What am I missing?
Thanks!
Code:
<table border=0 cellspacing=0 cellpadding=0 vspace=0>
<tr>
<td align=left><img src="images/logo_blue.gif"></td>
<td align=right valign="bottom">Text here</td>
</tr>
<tr>
<td align=center colspan=2 valign="bottom">
<img src="images/tab_blue_about.gif" width="160" height="35" border="0">
<img src="images/tab_blue_contact.gif" width="160" height="35" border="0">
<img src="images/tab_blue_products.gif" width="160" height="35" border="0">
<img src="images/tab_blue_phy.gif" width="160" height="35" border="0">
</td>
</tr>
<tr>
<td bgcolor="#0099CC" colspan=2 align=center valign=top>Text Here</td>
</tr>
</table>
-
Oct 15th, 2003, 01:39 AM
#2
Code looks terrible, but anyway.
Make sure you remove all padding, margin and border of img, tr and td.
Code:
tr, td, img {
padding: 0;
margin: 0;
border: 0;
}
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Oct 15th, 2003, 04:20 AM
#3
Lively Member
missed that one
colspan=2
Last edited by bekkel; Oct 15th, 2003 at 02:02 PM.
http://www.raketje.com coming..............soon................
-
Oct 15th, 2003, 04:52 AM
#4
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Oct 26th, 2003, 07:56 AM
#5
New Member
HTML Tables without white spaces
Message on 26 Oct 2003 14:55 (+3:00 gmt)
The answer to this question ended many hours of fruitless trying:
Just write the table defenitions in one line, do not 'structure' your HTML text with indents and/or new lines.
-
Oct 26th, 2003, 08:50 AM
#6
Stupid IE
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|