W3C home > Mailing lists > Public > www-html@w3.org > August 2002

Re: In support of the "line space" (nee <hr>)

From: Etan Wexler <ewexler@stickdog.com>
Date: 23 Aug 2002 11:40-0900
To: www-html@w3.org
Message-ID: <empty-div-is-a-hack.2002-08-21@etan.wexler>

Bill Daly asked about using empty, CSS-styled 'div' elements as section separators:

> But is that a solution or a hack?

It is most definitely a hack.  The empty 'div' elements used as section
separators are even worse than 'hr' elements, if that can be.  The
semantics of an 'hr' element are close to zero, but historical use
suggests that an 'hr' element might be a section separator.  Using an
empty 'div' element as a section separator subverts and perverts the
semantics of the element type.  There is no historical use of empty 'div'
elements as separators, so heuristics will do no good.

Etan Wexler <mailto:ewexler@stickdog.com>
"The call is over and I sit with lime skittle sour in my mouth.  I
contemplate the concept of domination, and then swallow."
--Courtney G., "britney boy", Tricks, 2002-07-20
Received on Friday, 23 August 2002 14:50:50 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:00 UTC