The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Percentage symbol in input field
How to insert a percentage symbol as an image in a input field which was wrapped in a td tag of a table
Note: Number should align right.
Could you make a Codepen?
I’m not entirely sure what it is you are trying to achieve..or why?
code:
css:
.greentext { color: #000000; padding-left: 10px !important; text-align: left; vertical-align: top; } td.greentext .input-percent { background: url(“../images/percentage.png”) no-repeat scroll right center #E1EB96 !important; }
please give me a solution..
Is there some reason you can’t do this: http://codepen.io/anon/pen/fuoHd