html - Divider on Right of Title -


i want put divider on right of section title of page this:

enter image description here

i tryid code, here how is:

enter image description here

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

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -