RolePlay onLine RPoL Logo

, welcome to Technical Discussions

15:00, 16th April 2024 (GMT+0)

HTML codes that work.

Posted by CraziFuzzy
CraziFuzzy
member, 3 posts
Wed 20 May 2015
at 10:55
  • msg #1

HTML codes that work

Is there a document somewhere that actually lists what HTML codes work in messages, descriptions, etc?  Not just the HTML elements that work, but what restrictions there are, and what attributes work for them?  It seems I go through so much trial and error to figure out what I can do in the way of formatting.  For instance, <IMG> tags: obviously src works, and align works, but height and width tags do not.
bigbadron
moderator, 14848 posts
He's big, he's bad,
but mostly he's Ron.
Wed 20 May 2015
at 12:46

Re: HTML codes that work

Yes, it's in the Help.  There's a contextual link at top right of every screen, or direct link to the page about allowed codes here: /help/?t=faqs&page=rubbcode .

Note that while the codes that work might look like HTML, they aren't.  They are specific codes which function on RPoL.
CraziFuzzy
member, 4 posts
Wed 20 May 2015
at 22:01
  • msg #3

Re: HTML codes that work

In reply to bigbadron (msg # 2):

well that's depressing - I had really hoped there's be a lot more versatility.
cruinne
moderator, 6622 posts
I'm not as dumb
as your parents.
Wed 20 May 2015
at 23:10

Re: HTML codes that work

There's probably ways to do what you want, just maybe not the ways you expect.

So, if there's something specific you're trying to do, let us know and perhaps we can help.  (OR at the very least, let you know why it's not possible and soften the blow a little. ;-).)
CraziFuzzy
member, 5 posts
Wed 20 May 2015
at 23:52
  • msg #5

Re: HTML codes that work

cruinne:
There's probably ways to do what you want, just maybe not the ways you expect.

So, if there's something specific you're trying to do, let us know and perhaps we can help.  (OR at the very least, let you know why it's not possible and soften the blow a little. ;-).)

I'll be honest, I'd much rather be able to use IFRAME or OBJECT elements with data attributes, so I could simply write whatever enhanced content I want on my own server.
This message was last edited by the user at 23:53, Wed 20 May 2015.
jase
admin, 3453 posts
Cogito, ergo procuro.
Carpe stultus!
Thu 21 May 2015
at 10:19

Re: HTML codes that work

In reply to CraziFuzzy (msg # 5):

Unfortunately those attributes can bring in elements from anywhere, which leaves users exposed to inline malicious content.  We must err on the side of caution and protecting the users so iframe, object, embed, source etc aren't allowed.
zexcis
member, 1 post
Fri 22 May 2015
at 17:25
  • msg #7

Re: HTML codes that work

In reply to jase (msg # 6):

I'm trying to put nested tables in my character sheet template and it is not working. Is this intentional or am I doing something wrong?
cruinne
moderator, 6623 posts
I'm not as dumb
as your parents.
Fri 22 May 2015
at 17:34

Re: HTML codes that work

I believe the first closing table tag will close the table (don't think tables are meant to be nested on RPoL), but you might be able to achieve the same thing with different means (colspan, rowspan, and so on).
GamerHandle
member, 715 posts
Umm.. yep.
So, there's this door...
Mon 25 May 2015
at 02:18
  • msg #9

Re: HTML codes that work

In reply to zexcis (msg # 7):

Depending upon what effect you are trying to create: it's likely possible. I've seen players create some FANTASTIC character sheets, that look better than a PDF.  Definitely try to do the Easy Tables, I've used both the standard HTML stuff and the Easy Tables: Easy is way better in this case.

Title
Sub TitleSub Title
DataData2Other Stuff
Stuff1Stuff2Stuff3Stuff4
Tall Order$Make itDouble
 

Seriously - tons of things.
LoreGuard
member, 603 posts
Tue 26 May 2015
at 20:14
  • msg #10

Re: HTML codes that work

I seem to remember running into being unable to nest tables using the table tags, but did find I could mix the simple tables inside of the html tables with some decent success.  Maybe you can find this useful as an example.


abc
123
456



def
456
123

Code:
<table>
<tr><td>
| a | b | c |
| 1 | 2 | 3 |
| 4 | 5 | 6 |
</td><td>
</td></tr>
<tr><td>
</td><td>
| d | e | f |
| 4 | 5 | 6 |
| 1 | 2 | 3 |
</td></tr>
</table>

Sign In