vertical 1pt blank space between <td>

zahimezher
zahimezher used Ask the Experts™
on
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

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
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

you have to specify cellspacing and cellpadding:
<table border="0" style="padding:0px; margin:0px; border:0px;" cellspacing="0" cellpadding="0">
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.
Success in ‘20 With a Profitable Pricing Strategy

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

@zahimezher:
why you have not accepted my answer, which is the same as ThiyagarajRamaswamy, but written first ??

Author

Commented:
sorry ludofulop

I thought you posted it twice :S

thanx alot

Author

Commented:
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?

Author

Commented:
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.



Author

Commented:
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)
http://www.experts-exchange.com/help.jsp#hs=23&hi=20

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial