Last post Dec 16, 2020 11:04 PM by bruce (sqlwork.com)
Member
192 Points
1127 Posts
Dec 16, 2020 07:51 PM|bootzilla|LINK
I have tried this for using a font awesome for an input but this didn't work. How can I put a font awesome icon on this input button:
<input type="submit" value="Vote" class="btn btn-success btn-sm col-sm-12" data-action="submit" />
All-Star
57844 Points
15487 Posts
Dec 16, 2020 11:04 PM|bruce (sqlwork.com)|LINK
You need to set the font for the special char by using a span. You can not do this with a value, so you will need to convert the html to a button, which allows more control of the content.
Member
192 Points
1127 Posts
Trying to use font awesome on input button
Dec 16, 2020 07:51 PM|bootzilla|LINK
I have tried this for using a font awesome for an input but this didn't work. How can I put a font awesome icon on this input button:
All-Star
57844 Points
15487 Posts
Re: Trying to use font awesome on input button
Dec 16, 2020 11:04 PM|bruce (sqlwork.com)|LINK
You need to set the font for the special char by using a span. You can not do this with a value, so you will need to convert the html to a button, which allows more control of the content.