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

Custom Character sheet HTML / CSS does not seem to be working properly

EDIT: This is only a problem with the "Preview" tab on the custom character sheet creator. When loaded in a campaign, everything works properly, it would just be much more convenient to get the preview tab working. Detailed Description of the Problem When developing a custom character sheet for my GM, the "preview" function does not work immediately after saving, it simply renders a blank page. I must change the HTML before it will update anything. Additionally, CSS formatting does not seem to to work, even when placed in the HTML document. When I copy my code into NetBeans or Visual Studio 2013, it renders as intended. Even when I just copy everything into notepad documents and run in my browsers, it works. (I do a lot of web and desktop application development for work, so I've tried all the typical things I can think of. I even brought in a friend to double-check for things like the ever-frustrating missing semi-colon.) Steps to Reproduce the Problem Occurs automatically when entering CSS and/or HTML in the Custom Character Sheet HTML or CSS tabs. Description of Your Setup (Browser + Version, Operating System, etc.) Firefox 31, Chrome 37 Windows 8.1 (Other Information From supportdetails.com) Screen Resolution: 1920 x 1080 on 3 displays JavaScript: Enabled Flash Version: 14 I even reduced it down to the equivalent of a Hello World program: CSS Tab: p{ font-weight:bold; } HTML Tab: <div><p>TEST</p></div> The sample document I was using was the D&D 3.5 Character Sheet from the GitHub repository found here . If I've made a syntax mistake, I don't think it would have worked as intended in NetBeans or VS2013. Any help would be appreciated.
1409677057

Edited 1409677284
Lithl
Pro
Sheet Author
API Scripter
I have run into this problem intermittently with the sheets I develop, although I'm uncertain of the cause. Often, reloading the page once or twice has fixed the issue for me. Once the preview tab starts working, I have not run into this issue again until a page reload (which might or might not trigger the issue). Do note that there are certain strings which are not permitted in your CSS for Roll20 which are prefectly legal in other CSS contexts, so functioning in NetBeans or VS2013 is not a guarantee that it will work in Roll20. If the Roll20 security filter finds one of the offending strings, it will throw out all of the CSS. This may not be your issue, but it's worth keeping in mind when comparing bugs to the CSS/HTML output in another context. data: eval cookie window parent this behavior behaviour expression moz-binding @import @charset javascript vbscript script