Styling HR tag with CSS


/ Published in: HTML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. div.hr {
  2. height: 15px;
  3. background: #fff url(hr1.gif) no-repeat scroll center;
  4. }
  5.  
  6. div.hr hr {
  7. display: none;
  8. }
  9.  
  10.  
  11. <div class="hr"><hr /></div>

URL: http://www.sovavsiti.cz/css/hr.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.