how to set length and postion for repeat-x and scroll background-image?

Posted by user550945 on Stack Overflow See other posts from Stack Overflow or by user550945
Published on 2010-12-27T06:48:23Z Indexed on 2010/12/27 6:53 UTC
Read the original article Hit count: 202

Filed under:
|

Hi all,

I have an to set background image. it is a red line under the input value.

background-attachment:scroll;
background-color:#FFFFFF;
background-image:url("../images/errorLine.gif");
background-position:left bottom;
background-repeat:repeat-x;

the input value is like "123; 456; 789;". the red line cover all the string, its length is the same as the input width.

Is there any way to make the red line only under the "456;"?

Is there anyway to do it by CSS?

Thanks a lot.

Best regards,

Ryanivanka

© Stack Overflow or respective owner

Related posts about css

Related posts about background-image