Posted: Thu Nov 13, 2008 1:22 pm Space between table and tbody
Hi, here is some simple php code. I have been doing html for years so I must be having a brain infarct. I have an image which is 1050px wide and a table with a width of 1050 or less or no width but there is always a border round the image or any text. In Firefox debug if you select the table it covers all but if you select tbody there is a gap. Havent come across this before and wondered if I have referenced the correct html version in the top line.
Code:
<!doctype html public "-//w3c//dtd html 3.2//en">
print("<body text='#000000' link='#0000ff' vlink='#800080' alink='#ff0000'>");
?>
<table bgcolor='#fdc055' border='0'>
<?php
print("<tr>");
print("<td height=100 valign='top' align='center'><img src='leafbanner1.jpg'></img></td>");
print("</tr>");
print("<tr>");
print("<td><font size=3 face='arial' color='#727272'><b>Some text which also has a border even if it spreads over two lines. I left the php in but shouldnt make any difference</b></td>");
print("</tr>");
print("<tr>");
print("<td></td>");
print("</tr>");
print("</table>");
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum