How do you get rid of table gaps? [modified]
-
I have some table gaps that I can't get rid of and it's driving me insane. Can someone shed some light on why this is happening? I've simplified my code to just a boarder and nothing else:
<table width="1160" height="600" border="0" align="left" cellpadding="0" cellspacing="0" id="Table_blah">
<tr><td rowspan ="1" colspan="15"><img src="images/HorSeparator.jpg" width="1160" height="16" alt=""></td></tr>
<tr><td rowspan="14"><img src="images/VertSeparator.jpg" alt="" width="11" height="584"></td></tr>
</table>SOLVED: Turns out the gap was caused by my opening tags:
<!DOCTYPE html>
<html lang="en">Does anyone know how they can cause table gaps :confused:
modified on Sunday, January 30, 2011 9:32 PM
-
I have some table gaps that I can't get rid of and it's driving me insane. Can someone shed some light on why this is happening? I've simplified my code to just a boarder and nothing else:
<table width="1160" height="600" border="0" align="left" cellpadding="0" cellspacing="0" id="Table_blah">
<tr><td rowspan ="1" colspan="15"><img src="images/HorSeparator.jpg" width="1160" height="16" alt=""></td></tr>
<tr><td rowspan="14"><img src="images/VertSeparator.jpg" alt="" width="11" height="584"></td></tr>
</table>SOLVED: Turns out the gap was caused by my opening tags:
<!DOCTYPE html>
<html lang="en">Does anyone know how they can cause table gaps :confused:
modified on Sunday, January 30, 2011 9:32 PM
I took your markup, made a couple of images to match yours and took a look. I don't see any gaps. Perhaps you have a style sheet that's affecting things? If that's not the case, maybe you could describe what you're seeing - that may help diagnose the problem. Cheers, Drew.
-
I took your markup, made a couple of images to match yours and took a look. I don't see any gaps. Perhaps you have a style sheet that's affecting things? If that's not the case, maybe you could describe what you're seeing - that may help diagnose the problem. Cheers, Drew.
Thanks for the reply My style sheet is very simple, I doubt that is affecting it, but I'll look into it. Here's a snapshot of Explorers' and Chromes' rendering of my table: http://tinypic.com/r/2guei2s/7[^] It dosent look like much but that 3 pixle gap on the left really messes things up. Thanks for the input Drew. If you didnt suggest that the problem could be outside of the table I wouldn't of figured out that the problem was caused by my opening tags
<!DOCTYPE html><html lang="en">
modified on Sunday, January 30, 2011 10:46 PM
-
Thanks for the reply My style sheet is very simple, I doubt that is affecting it, but I'll look into it. Here's a snapshot of Explorers' and Chromes' rendering of my table: http://tinypic.com/r/2guei2s/7[^] It dosent look like much but that 3 pixle gap on the left really messes things up. Thanks for the input Drew. If you didnt suggest that the problem could be outside of the table I wouldn't of figured out that the problem was caused by my opening tags
<!DOCTYPE html><html lang="en">
modified on Sunday, January 30, 2011 10:46 PM