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

[Help] Radio Button differences in browsers

1460022966
Havoc
Sheet Author
API Scripter
I need help with style of the radio button in different browsers. I don't anything about css and how to fix it. html:&nbsp; <a href="http://pastebin.com/8VK9Dnvh" rel="nofollow">http://pastebin.com/8VK9Dnvh</a> css:&nbsp; <a href="http://pastebin.com/bdAuWyAK" rel="nofollow">http://pastebin.com/bdAuWyAK</a> How it should look (Chrome): How it looks (Firefox):
1460051128
Havoc
Sheet Author
API Scripter
Nevermind. Changed how the inputs work, used labels and all is fine.
This has come up before, but I have not seen the fix. &nbsp;Can you show us the code you used?
1460096948
Havoc
Sheet Author
API Scripter
I used labels with radio buttons. The button is hidden, while the label is selectable and visible. html:&nbsp; <a href="http://pastebin.com/CxhnP3mf" rel="nofollow">http://pastebin.com/CxhnP3mf</a> css:&nbsp; <a href="http://pastebin.com/tgaimiuU" rel="nofollow">http://pastebin.com/tgaimiuU</a>
1460104513
Kryx
Pro
Sheet Author
API Scripter
You can't use an id for roll20. I have my tab's setup to have a defined width and height with the radio before the label. The label then has a negative margin left equal to the width.
1460105225
Havoc
Sheet Author
API Scripter
But it works?
1460105507
Kryx
Pro
Sheet Author
API Scripter
In roll20? When I checked a long time ago it didn't. See&nbsp; <a href="https://wiki.roll20.net/Building_Character_Sheets#" rel="nofollow">https://wiki.roll20.net/Building_Character_Sheets#</a>...
1460105729

Edited 1460107053
Havoc
Sheet Author
API Scripter
Ah, I see it now. I will need to fix this. Thanks for the information. EDIT: It's okay for a single-sheet player, so it's fine by me. Problem would be if I had mutliple sheets open as a GM. EDIT 2: Yup, now it works for multiple sheets. Again, thanks for the info.