# CSS Horizontal Rule..help pls

**URL:** https://forum.kirupa.com/t/css-horizontal-rule-help-pls/165537
**Category:** Uncategorized
**Created:** [October 11, 2005, 9:01pm UTC](https://forum.kirupa.com/t/css-horizontal-rule-help-pls/165537 "2005-10-11T21:01:49Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![cmart](https://avatars.discourse-cdn.com/v4/letter/c/977dab/32.png) [@cmart](https://forum.kirupa.com/u/cmart)
#### Post date: [October 11, 2005, 9:01pm UTC](https://forum.kirupa.com/t/css-horizontal-rule-help-pls/165537/1 "2005-10-11T21:01:49Z")

</div>

How do you create a CSS horizontal rule, and what do you apply it to? I’ve been using a cheap workaround which looks ok, but leaves too much space before and after the horizontal rule. Basically I’ve been including a dashed bottom line in my “box” class, which is applied to each div with content.

thanks

p.s. I’d like a simple dotted thin line.
