html - Divider on Right of Title -
i want put divider on right of section title of page this:
i tryid code, here how is:
here code:
<h4 class="section-title">lastest blog</h4> .section-title { font-size:18px; background-image: url('images/divider-bar.png'); background-repeat: repeat-x; padding-bottom: 12px; color: #6c6c6c; }
here fiddle: http://jsfiddle.net/chead/hryyg/
there go: http://jsfiddle.net/kqdcr/
just wrap text in span white background :
.section-title span { background: white; padding-right: 3px; }
of course not work if background of page not plain color.
Comments
Post a Comment