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

Set input width equal to content

Ok, I give up. I've tried everything I can think of, and everything I could find online. How do I set the width of an input box to the width of its content? 
1724266056
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
You can't really in Roll20 character sheets. We don't have the DOM access required for true responsively sized inputs/textareas. You can fake it with some html/css hackery .
Can you put the input in the same line as something else? 
Ok, figured it out