View Full Version : unwanted space in table


salomeyasobko
05-06-2004, 05:52 AM
hello, i have a table on my site and there is a large gap right before the first line of text. the URL is http://salomeya.tk, click on "links".


here's the code:

<table><tr><td rowspan=1> A BUNCH OF LINKS

</td><td rowspan=3><font color="#000000">hey</font></TD><TD ROWSPAN=3> SOME MORE LINKS

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

ignore the "a bunch of links" thing, i don't want to show them all for confidentiality reasons :lol: also, the row that says "hey" is just my fast [and probably incorrect] way of getting a column of space between the first column of links and the second column of links.

thanks!

bourdelson
05-06-2004, 07:15 PM
Maybe it's because you used <p> in front of all of your links. Maybe if you used the <br /> tag, it would help. Either that, or it could be that the links in the second column have more text, and it's causing the table to expand.

Edit: Another thought, it could possibly have something to do with your rowspans. I looked at your links page outside of the iframe, and everything aligns properly, but inside of your iframe, it does have the spaces. Maybe if you fiddle around with those for a bit, it'll adjust in your iframe.

kittycat
05-06-2004, 08:35 PM
Add valign="top" to the <td> tag

salomeyasobko
05-07-2004, 12:58 AM
thank you both for your replies! what you said worked perfectly, kittycat! and i'm sure i could've fixed it bourdelson's way too, i was just too lazy :lol:

anyway, thanks again!