Can Hint Text on a form be Aligned?

Anonymous
Not applicable

Can Hint Text on a form be Aligned?

I was trying to center hint text on a form
Tags (1)
2 REPLIES 2
Josh_Hill13
Level 10 - Champion Alumni

Re: Can Hint Text on a form be Aligned?

you can try adjusting CSS on the Form or on the page. Or do custom formatting.
Justin_Cooperm2
Level 10

Re: Can Hint Text on a form be Aligned?

<style>
::-webkit-input-placeholder { /* WebKit browsers */
text-align:center;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
opacity:  1;
text-align:center;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
opacity:  1;
text-align:center;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
text-align:center;
}
</style>


credit: http://stackoverflow.com/questions/2610497/change-an-inputs-html5-placeholder-color-with-css