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

Re[2]: <hr /> and WD-xhtml2-20021218

From: Alexander Savenkov <w3@hotbox.ru>
Date: Tue, 31 Dec 2002 19:16:44 +0300
Message-ID: <46104185.20021231191644@hotbox.ru>
To: www-html@w3.org

Toby wrote:
> Devon Y. said:
>> I just can't see how an <hr /> element is anything but presentational.
>> Anyone can mimic the <hr />'s effect using CSS. For me, that means <hr
>> />'s  are just code clutter.

> I am very much of the school of thought that we should use XHTML 2 as a
> way to kill off the <hr /> element. Once <br /> is gone, <hr /> will be
> the only empty visible element (ie: not inside <head /> or <object />)

> Instead we should define a special object type attribute value, say
> "special/hr" that can be used like this:

> <p>Block of text</p>
> <object type="special/hr">------------------</object>
> <p>More text after a horizontal rule</p>

> This can be used for those people who are desperate for a rule, but refuse
> to use CSS, or for CSS-less browsers.

I think you meant to say:
<p>Block of text</p>
<p class="empty">------------------</p>
<p>More text after a horizontal rule</p>
and in CSS:
.empty { display: none }

What's the purpose of "object type='special'" then?
The approach witš 'display: none' benefits all the users including
those with disabilities whether they have an ACCS-enabled browser or

Happy New Year by the way! We have just 5 hours to go.

Best wishes!
  Alexander "Croll" Savenkov                  http://www.thecroll.com/
  w3@hotbox.ru                                     http://croll.da.ru/
Received on Tuesday, 31 December 2002 11:17:52 UTC

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