Lynne,
Thanks to you I have the BB Code replacement for the HTML <hr /> tag working on my 4.0.3 test board. It took some trial and error and the BB Custom Code Manager still doesn't like it very much. However, the code output does work.
Here's how it was accomplished...
Title = Horizontal Rule
BB Code Tag Name = hr
Replacement Code
Code:
<hr style="height:3px;width:{param};noshade=noshade;display:inline-block" />
Example: [*hr]125%[/hr*] (without the *)
{param} is the line's width and can vary. I use % because it is easier for me to guesstimate how that will look inside the post.
So for a full width line, I would use [hr*]125%[*/hr] on my fluid width custom board. On fixed width boards, 100% will probably work as well.
On my 3.8 boards I was able to set two {param}. One for width and one for alignment. I was not able to make that work here.
*grins
It would be so much easier if we could just use the standard single [hr] BB Code tag for horizontal rule. I have attached screen shots of the results.
Please note...this is rough. I am NOT a coder of any kind or caliber. Oh...I did figure out how to get a border/horizontal line beneath the post title via additional CSS.
Thanks very much for all help! This little bit of code is vital for our writing board as it divides scenes in posts.
PS: Lynne, I don't guess there's a way to get the
Quote:
hr tags are set to display:none
|
set to where they display without all the jumping through hoops issues? Can this be requested? I can't see that allowing the use of <hr /> would allow someone to destroy a board? Again, though, I admit to not being very savvy on coding. It would be nice to be able to use it without turning HTML on in the posting forums.
Thanks and Regards,
Alisa