How to implement this type of style to text using only css3, means a horizontal line in the middle of the tag... Can it be possible using pure css...
Here's one way to do it by adding a span inside the p.
HTML:
4 weeks ago
4 weeks ago
CSS:
p {background: #000; height:1px; margin-top:10px;} p span{background: #fff; padding:10px; position:relative; top:-10px; left: 20px}
DEMO: http://jsfiddle.net/9GMJz/