Log in

View Full Version : BBCode help


Bilderback
09-23-2008, 04:10 AM
I havent found a decent solution to add a horizontal rule bbcode.
What I have so far is this and it works fairly well.

<table>
<tr>
<td>{param}</td>
<td width="100%"><hr /></td>
</tr>
</table>

The usage would be like text-goes-here
and it looks like this.
http://images.dudditz.com/ext/ex-bbc-1.gif

The problem arises when I have any spaces in the text as seen below.
http://images.dudditz.com/ext/ex-bbc-2.gif

Does anyone know how I can achieve this type of bbcode without having the text break?
How is it done here at vb.org?
Thanks for any assistance.

Lynne
09-23-2008, 03:00 PM
Try:
<td style="white-space: nowrap;">{param}</td>

Bilderback
09-23-2008, 03:06 PM
Try:
<td style="white-space: nowrap;">{param}</td>

Thanks - that did it.
Once again, you saved the day.