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

Lost Radio Buttons

Hiya! I've got a custom character sheet pulling .png files from Github. It brings in all background and checkbox/value related images just fine and used to bring in radio buttons, but sometime in the last month, the radio buttons stopped showing up. It's a Forged In the Dark hack using largely the BitD character sheet. I'm not sure what's happened. Can anyone help? Example Code below if anyone can make sense of it ;)&nbsp; ``` EXAMPLE HTML &lt;!-- Advancement --&gt; &lt;div class="sheet-col100 sheet-def-margin"&gt; &lt;div class="sheet-advancement-header sheet-flex sheet-blackheader"&gt; &lt;div class="sheet-label" data-i18n="mark_xp:"&gt;Mark XP:&lt;/div&gt; &lt;div class="sheet-label" data-i18n="playbook_advancement"&gt;Playbook Advancement &lt;/div&gt; &lt;div class="sheet-advancement-xpholder"&gt; &lt;input type="radio" value="0" name="attr_playbook_xp" class="sheet-tooth sheet-zero" checked/&gt; &lt;span&gt;&lt;/span&gt; &lt;input type="radio" value="1" name="attr_playbook_xp" class="sheet-tooth sheet-xptooth"/&gt; &lt;span&gt;&lt;/span&gt; &lt;input type="radio" value="2" name="attr_playbook_xp" class="sheet-tooth sheet-xptooth"/&gt; &lt;span&gt;&lt;/span&gt; &lt;input type="radio" value="3" name="attr_playbook_xp" class="sheet-tooth sheet-xptooth"/&gt; &lt;span&gt;&lt;/span&gt; &lt;input type="radio" value="4" name="attr_playbook_xp" class="sheet-tooth sheet-xptooth"/&gt; &lt;span&gt;&lt;/span&gt; &lt;input type="radio" value="5" name="attr_playbook_xp" class="sheet-tooth sheet-xptooth"/&gt; &lt;span&gt;&lt;/span&gt; &lt;input type="radio" value="6" name="attr_playbook_xp" class="sheet-tooth sheet-xptooth"/&gt; &lt;span&gt;&lt;/span&gt; &lt;input type="radio" value="7" name="attr_playbook_xp" class="sheet-tooth sheet-xptooth"/&gt; &lt;span&gt;&lt;/span&gt; &lt;input type="radio" value="8" name="attr_playbook_xp" class="sheet-tooth sheet-xptooth"/&gt; &lt;span&gt;&lt;/span&gt; &lt;/div&gt; &lt;/div&gt; ``` ``` EXAMPLE CSS .sheet-advancement-xpholder { letter-spacing: 0; font-size: 0; margin-left: 5px; } input.sheet-tooth { width: 8px; } input.sheet-tooth + span { width: 8px; display: inline-block; vertical-align: top; } input.sheet-tooth + span:last-child { margin-right: 2px !important; } input.sheet-tooth:last-of-type { width: 8px; } input.sheet-tooth:hover + span { filter: alpha(opacity=70); opacity: 0.7; } input.sheet-xptooth, input.sheet-xptooth + span &nbsp;{ height: 25px; } input.sheet-xptooth + span, input.sheet-xptooth[type=radio] + span { background-image: url(<a href="https://raw.githubusercontent.com/haushalter/Vibroblades-In-The-Dark/master/xptooth-red2.png" rel="nofollow">https://raw.githubusercontent.com/haushalter/Vibroblades-In-The-Dark/master/xptooth-red2.png</a>); margin-right: 1px; } input.sheet-tooth:checked ~ input.sheet-xptooth[type=radio] + span &nbsp;{ background-image: url(<a href="https://raw.githubusercontent.com/haushalter/Vibroblades-In-The-Dark/master/xptooth-white3.png" rel="nofollow">https://raw.githubusercontent.com/haushalter/Vibroblades-In-The-Dark/master/xptooth-white3.png</a>); } ```
1588255349
Andreas J.
Forum Champion
Sheet Author
Translator
Is this still an issue? What browser are you using? I think radio buttons are handle slightly differently on Firefox after some update, could have something to do with it. The way to do buttons with span+ radio input is a bit fiddly, and switching to action buttons is a smart idea. There is an example on this in the CSS Wizardry wiki page. Anyway, this belongs more in the Character Sheet Forums , where other sheet authors can try help you out figure the problem.