Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Percentage symbol in input field

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #43662
    sivasureddy
    Member

    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.

    #129435
    Paulie_D
    Member

    Could you make a Codepen?

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

    #130008
    sivasureddy
    Member

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

    #130009
    Paulie_D
    Member

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.