0

I want to display "text between horizontal line", so

i am following this link :

Horizontal line in the middle of text

but in our theme.css file, we already using ".span" & ".h2" classes.

if i use code in above link, it will apply for all the html codes which using these css classes : "span", "h2".

but i don't want that to be happen.

give me some guidance.

Community
  • 1
  • 1
  • this is the one i got answer : http://stackoverflow.com/questions/5214127/css-technique-for-a-horizontal-line-with-words-in-the-middle –  Apr 06 '15 at 13:47

1 Answers1

1

Create one more span with specific class. or add one more specific class to existing span or h2.

zhartaunik
  • 932
  • 12
  • 29