Grow your CSS skills. Land your dream job.

Percentage symbol in input field

  • # March 26, 2013 at 4:38 am

    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.

    # March 26, 2013 at 6:30 am

    Could you make a Codepen?

    I’m not entirely sure what it is you are trying to achieve..or why?

    # March 28, 2013 at 5:11 am

    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..

    # March 28, 2013 at 6:05 am

    Is there some reason you can’t do this: http://codepen.io/anon/pen/fuoHd

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".