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

Is CSS reset styling useful or harmful for a custom character sheet?

January 28 (4 years ago)

Edited January 28 (4 years ago)
Daniel S.
Pro
Marketplace Creator
Sheet Author
Compendium Curator

I got someone with some experience in developing (just not with Roll20) help me get started making a sheet. I'm trying to break down all the components and restructure now that I'm learning how to code more myself.

The top of the code has what looks like a CSS reset. https://meyerweb.com/eric/tools/css/reset/

They also added a bit at the end for table something:

https://www.dropbox.com/s/m0jl6j9eg382zbg/Screen%20Shot%202021-01-28%20at%203.55.23%20PM.png?dl=0


Is any of this beneficial while making a Roll20 sheet? Can it possibly be harmful? Is it just bloat? Thanks!

January 28 (4 years ago)
GiGs
Pro
Sheet Author
API Scripter

It cant be harmful, and it can be very beneficial - it's sometimes required, in fact.

January 29 (4 years ago)
Daniel S.
Pro
Marketplace Creator
Sheet Author
Compendium Curator

Okay cool. I suppose I'll leave it there then. Thanks!

January 29 (4 years ago)
Richard T.
Pro
Marketplace Creator
Sheet Author
Compendium Curator

This is fine except a lot of Roll20's styles have more specificity than these, though I'm sure your friend/contractor will find that out. 

January 29 (4 years ago)
vÍnce
Pro
Sheet Author

I would also recommend your friend have a look at Building Character Sheets on the roll20 wiki.  There are many nuances specific to roll20.  Reviewing the wiki will prevent many pitfalls. Cheers

January 29 (4 years ago)
Daniel S.
Pro
Marketplace Creator
Sheet Author
Compendium Curator

Yeah. I'll be working on it from here, just got some quick help one night to get some basic functionality off the ground for the sheet while I figure out how it works. Just trying to make sense of the code they started me out with. Definitely been combing the roll20 documentation trying to figure out requirements, like the .sheet- and no <body>.