How To Style A Horizontal Rule With CSS (IE Friendly)

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

A good CSS example of how to style Horizontal Rule (HR) elements. It's also Internet Explorer (IE) friendly.

Copy this code and paste it in your HTML
  1. color: #000;
  2. background-color: #000;
  3. height: 4px;
  4. border: none;


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.