Thursday, 15 January 2015

javascript - Insert space at position in border line -



javascript - Insert space at position in border line -

i'm displaying horizontal line using css :

.horizontallinebottom { border-bottom:solid #6e6a6b; border-width:1px; }

can space insterted specific position on line ?

so

______________________________________________

becomes

______________________________ ___

another solution using border-width:

.line { width: 20px; height: 1px; padding: 0; border-width: 0 100px 0 150px; border-style: solid; border-color: red; }

http://jsfiddle.net/dfsq/uttxy/1/

javascript jquery css

No comments:

Post a Comment