Link to home
Start Free TrialLog in
Avatar of zahimezher
zahimezher

asked on

vertical 1pt blank space between <td>

im working on a simple table

<table>
<tr><td></td></tr>
<tr><td></td></tr>
<tr><td></td></tr>
</table>

each td has a bg image
the middle td is supposed to stretch (image height 100%)

CODE BELOW
===================

problem is i have a thin blank line between the tds that i cant get rid of
is it possible at all

page link

www.zahimezher.com/texasclub/bottom.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
	background-image: url(bg.jpg);
	background-repeat: repeat;
}
-->
</style></head>

<center>

<body bgcolor="#2B122C">


<table border="0" style="padding:0px; margin:0px; border:0px;">
<tr style="padding:0px; margin:0px; border:0px;"><td background="images/table_01.png" width="887" height="46" style="padding:0px; margin:0px; border:0px;">

</td></tr>

<tr style="padding:0px; margin:0px; border:0px;"><td background="images/table_02.png" width="887" height="100%" style="padding:0px; margin:0px; border:0px;">


<div style="margin:45px;">

<h1 style="color:#FFF; text-align:center;">the bullshit</h1>

</div>


</td></tr>

<tr style="padding:0px; margin:0px; border:0px;"><td background="images/table_03.png" width="887" height="58" style="padding:0px; margin:0px; border:0px;">

</td></tr>
</table>


</body>
</center>
</html>

Open in new window

Avatar of Gurvinder Pal Singh
Gurvinder Pal Singh
Flag of India image

try either of these 2 things
1) give margin top as negative value
2) do not give any space between start td and enclosing td tag

ASKER CERTIFIED SOLUTION
Avatar of ludofulop
ludofulop

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ThiyagarajRamaswamy
ThiyagarajRamaswamy

Hello Expert,

Just use replace line no 20

<table border="0" style="padding:0px; margin:0px; border:0px;">

with

<table border="0" style="padding:0px; margin:0px; border:0px;" cellspacing="0" cellpadding="0">

This must work.
@zahimezher:
why you have not accepted my answer, which is the same as ThiyagarajRamaswamy, but written first ??
Avatar of zahimezher

ASKER

sorry ludofulop

I thought you posted it twice :S

thanx alot
sorry ludofulop

I thought you posted it twice :S

thanx alot
Hello
DropBearMod and zahimezher see the post time when i was looking your post there was 0 comment.
So when it got posted two more post entered in prior what is my mistake here.

Is my solution is correct?
dude i donno whats happening here one of teh site admins reopened the question because i assigned the points to you , and ...... i guess they want me to assign the point to the first post.

I seriously have no idea what to do now? can you please contact the site admin and sort it out with them maybe if teh reopen the question i can give both of you points :S
hi,

mostly you should assign points to the solution which best fits your needs, or which contains better explanation of the solution, or the problem.

If you get more same answers, you should award the first one,
Or if you feel so, and there is not a big time delay between the answers, to split the points.
Mostly people accept the first correct answer.



ok i awarded point to teh first answer now what ?
@zahimezher: nothing, now it's ok, that was the correct question closing. thank you.

Next time, in case of two equal answers, award the first one, or split the points to both of them, if they are posten on about the same time (+/- 1-2minutes)
https://www.experts-exchange.com/help.jsp#hs=23&hi=20