How to add an image to a html button (works in fbml too)
Posted: Sun Oct 03, 2010 5:38 pm
Simple method:
CSS method:
CSS method has more control. Both methods are working fine in fbml (At least on FBML test console).
Code: Select all
<input type="image" src="https://robot.lk/styles/prosilver_se/imageset/ROBOT.LK-logo3.png" alt="Submit button">
Code: Select all
<input type="button" value="Give Me Instant Access Now" style="background: url('https://robot.lk/styles/prosilver_se/imageset/ROBOT.LK-logo3.png'); height: 50px; font-size: 30px; font-weight: bold;">