SpankMe
1st October 2003, 10:12
Most forum boards deny the use of HTML as it can screw up the page layout if you don't know what you are doing, but I like it enabled as it gives me more control on formatting posts.
One thing to remember when using HTML in posts is that it must be all on a single line as vBulletin adds line breaks after every line in a post. This is fine with normal text but causes many blank lines with HTML.
So the following example:<p><font face="Courier New"><font color="#0000FF"><table</font> <font color="#FF0000">border=</font>"<font color="#FF0000">0</font>" <font color="#FF0000">cellpadding=</font>"<font color="#FF0000">0</font>" <font color="#FF0000">cellspacing=</font>"<font color="#FF0000">0</font>"<font color="#0000FF">></font><br><font color="#0000FF"> <tr></font><br><font color="#0000FF"> <td</font> <font color="#FF0000">width=</font>"<font color="#FF0000">50</font>%"<font color="#0000FF">></font><br> text<br><font color="#0000FF"> </td></font><br><font color="#0000FF"> <td</font> <font color="#FF0000">width=</font>"<font color="#FF0000">50</font>%"<font color="#0000FF">></font><br><font color="#0000FF"> <img</font> <font color="#FF0000">src=</font>"http://www.domain.com/image.jpg"<font color="#0000FF">></font><br><font color="#0000FF"> </td></font><br><font color="#0000FF"> </tr></font><br><font color="#0000FF"></table></font></font></p>
Would be entered thus:<p><font face="Courier New"><font color="#0000FF"><table </font><font color="#FF0000">border=</font>"<font color="#FF0000">0</font>"<font color="#FF0000"> cellpadding=</font>"<font color="#FF0000">0</font>"<font color="#FF0000"> cellspacing=</font>"<font color="#FF0000">0</font>"<font color="#0000FF">></font><font color="#0000FF"> <tr></font><font color="#0000FF"> <td </font><font color="#FF0000">width=</font>"<font color="#FF0000">50</font>%"<font color="#0000FF">></font> text<font color="#0000FF"> </td></font><font color="#0000FF"> <td </font><font color="#FF0000">width=</font>"<font color="#FF0000">50</font>%"<font color="#0000FF">></font><font color="#0000FF"> <img</font><font color="#FF0000"> src=</font>"http://www.domain.com/image.jpg"<font color="#0000FF">></font><font color="#0000FF"> </td> </font><font color="#0000FF"> </tr></font><font color="#0000FF"></table></font></font></p>To remove the newlines, do a [CTRL] ↓ tol take you to the start of the next newline, then do a [backspace].
Also make sure the "<smallfont><b>Automatically parse URLs</b></smallfont>" option is not selected as this is why you keep seeing "target=_blank" next to links.
One thing to remember when using HTML in posts is that it must be all on a single line as vBulletin adds line breaks after every line in a post. This is fine with normal text but causes many blank lines with HTML.
So the following example:<p><font face="Courier New"><font color="#0000FF"><table</font> <font color="#FF0000">border=</font>"<font color="#FF0000">0</font>" <font color="#FF0000">cellpadding=</font>"<font color="#FF0000">0</font>" <font color="#FF0000">cellspacing=</font>"<font color="#FF0000">0</font>"<font color="#0000FF">></font><br><font color="#0000FF"> <tr></font><br><font color="#0000FF"> <td</font> <font color="#FF0000">width=</font>"<font color="#FF0000">50</font>%"<font color="#0000FF">></font><br> text<br><font color="#0000FF"> </td></font><br><font color="#0000FF"> <td</font> <font color="#FF0000">width=</font>"<font color="#FF0000">50</font>%"<font color="#0000FF">></font><br><font color="#0000FF"> <img</font> <font color="#FF0000">src=</font>"http://www.domain.com/image.jpg"<font color="#0000FF">></font><br><font color="#0000FF"> </td></font><br><font color="#0000FF"> </tr></font><br><font color="#0000FF"></table></font></font></p>
Would be entered thus:<p><font face="Courier New"><font color="#0000FF"><table </font><font color="#FF0000">border=</font>"<font color="#FF0000">0</font>"<font color="#FF0000"> cellpadding=</font>"<font color="#FF0000">0</font>"<font color="#FF0000"> cellspacing=</font>"<font color="#FF0000">0</font>"<font color="#0000FF">></font><font color="#0000FF"> <tr></font><font color="#0000FF"> <td </font><font color="#FF0000">width=</font>"<font color="#FF0000">50</font>%"<font color="#0000FF">></font> text<font color="#0000FF"> </td></font><font color="#0000FF"> <td </font><font color="#FF0000">width=</font>"<font color="#FF0000">50</font>%"<font color="#0000FF">></font><font color="#0000FF"> <img</font><font color="#FF0000"> src=</font>"http://www.domain.com/image.jpg"<font color="#0000FF">></font><font color="#0000FF"> </td> </font><font color="#0000FF"> </tr></font><font color="#0000FF"></table></font></font></p>To remove the newlines, do a [CTRL] ↓ tol take you to the start of the next newline, then do a [backspace].
Also make sure the "<smallfont><b>Automatically parse URLs</b></smallfont>" option is not selected as this is why you keep seeing "target=_blank" next to links.