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;

URL: http://cssforlunch.com/styling-the-horizontal-rule/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.