- From: Cameron McCormack <cam@mcc.id.au>
- Date: Mon, 27 Jan 2014 07:48:51 -0800
- To: "www-style@w3.org" <www-style@w3.org>
One effect I noticed in a book recently was the presence of a horizontal
line indicating a thematic break, but only if the break is at the top of
a page. So something like this:
hr {
border: none;
margin: 1em 0;
padding: 0 5em;
}
hr:at-top-of-page {
border-top: 1px solid black;
}
When you use an <hr> and it lands at the top of a page, the gap by
itself won't distinguish itself enough, and that no ink at the top of
the page is aligned with the text on the following page probably doesn't
look good.
Maybe :at-top-of-page is too specific; you might want this effect at the
top of other fragmenting containers, like columns.
Received on Monday, 27 January 2014 15:49:29 UTC