Explore the community Forums Lectora Lectora Questions & Answers Check box label styling Reply To: Check box label styling

#369158 Score: 0
Profile photo of Jason Dalrymple
Jason Dalrymple
Member
beginner
intermediate
profile
wise owl
curious george
contributor
friend finder
advanced
picture perfect
54 pts
@JasonADal

I was able to add styles via JS, but it’s still not moving the position of the text, so maybe I’m just missing a style value to move the text?

document.getElementById(“%HTMLNAME%”).style.height = “12px”;
document.getElementById(“%HTMLNAME%”).style.width = “300px”;
document.getElementById(“%HTMLNAME%”).style.background = “white”;

I haven’t tried padding yet, but it didn’t seem to have an effect in the browser console…