Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

CSS problem

Hello.

Sorry if my english is not genius. I'm French.

I make a caracter sheet with a friend for his RPG. However, we had see a problem with the CSS. The most basic code isn't applicated in the sheet.


Exemple :

A simple table for the caracter identity.


HTML :



CSS :



Result :



I forgot anithing in the HTML layout or the stylesheet ?

All help will welcome.

Thank you very much ! :)

February 01 (2 years ago)
GiGs
Pro
Sheet Author
API Scripter

Two things here:

Never use the Preview tab - there are times it will be wrong.

There should be a Legacy Santisation checkbox above the buts you have taken pictures of. Check that and load the campaign.


Are things okay now?

February 01 (2 years ago)
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator

Another thing to add on to GiGs' excellent advice; you are coding a roll template there, but from your description it sounds like you want an actual character sheet. The roll template will not show up in the sheet itself, it is for chat output.

February 02 (2 years ago)
GiGs
Pro
Sheet Author
API Scripter

Oh wow, thats a great point.

John, you're only going to see that styling in chat, when you make a roll in game.

February 02 (2 years ago)

Edited February 02 (2 years ago)

Hi again,I try to create a character sheet template indeed.

My code was totally wrong, but thanks to you i fixed it, the CSS works now. Thanks a lot !

Hello !
I dont know if it's better to continue here but I have an another question :
I'd like to join an image in my caracter sheet. But I dont know how to do it. I don't find this information in the documentation.

Thank you for your help !

February 02 (2 years ago)
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator

I'm not sure what you mean by "I'd like to join an image in my caracter sheet". You can display images on character sheets using img tags or css. You can also make dynamic images using the image attributes.