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 ! :)
1675289303
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?
1675293415
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.
1675313089
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.
1675333457

Edited 1675364185
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 !
1675367023
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 .