Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

horizontal line with text in middle word in html

h2 {
   width: 100%; 
   text-align: center; 
   border-bottom: 1px solid #000; 
   line-height: 5em;
   margin: 10px 0 20px; 
} 

h2 span { 
    background:#fff; 
    padding:0 10px; 
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #horizontal #line #text #middle #word #html
ADD COMMENT
Topic
Name
9+5 =