PDA

View Full Version : Table spacing in signature



Flying Mullet
08-06-2003, 05:54 PM
I put a table in my signature and it added about two inches of blank space between my signature and the horizontal line that separates the post from the signature. Does anyone know why?

Spatvark
08-06-2003, 06:04 PM
I've seen it happen before; it's to do with faulty coding. It's not bad enough to screw up the tables completely, but it does do that. Post up the code and I'll correct it for ya

Flying Mullet
08-06-2003, 06:09 PM
Here's the code. I also tried setting the top margin of the table to "-20px", but it didn't work, plus I didn't know how ya'll felt about us including a local stylesheet in our signatures.

Dr Unne
08-06-2003, 06:18 PM
The MB doesn't parse out whitespace like normally happens with HTML. If you format your code and put all the tags on new lines with tabs to indent it and whatnot, the MB will put the newlines in there. In HTML when you put text between a </tr> and a <tr> for example, it'll throw that text to either before or after the table. So that's what's happening. Pretty sure anyways. That's what it does with normal text in posts. Try putting <table><tr><td>blah</td></tr> instead of putting all the tags on separate lines.

Spatvark
08-06-2003, 06:21 PM
yeah, that's what I just remembered via a bit of experimentation =P


What you need to put in your sig
<table border="0" height="48"><tr><td><img src="http://www.geocities.com/chadmonkey/sb.gif"></img></td><td><a href="http://invisionfree.com/forums/Shrine_of_Erdrick/"><font size="5" color="white">Shrine of </font><font size="5" color="#7CFC00">Erdrick</font><br><font color="#FFFF00">Looking for a couple of moderators for a simple, laid-back board</font></a></td><td><img src="http://www.geocities.com/chadmonkey/sb.gif"></img></td></tr></table>

My bad for saying it was sloppy coding =P

Flying Mullet
08-06-2003, 06:26 PM
Ok, that makes perfect sense. Thanks a lot for your help both of you. This thread's done whenever someone wants to close it. Thanks.