W3C home > Mailing lists > Public > public-html@w3.org > April 2007

Re: [whatwg] Default (informal) Style Sheet

From: Asbjørn Ulsberg <asbjorn@ulsberg.no>
Date: Mon, 02 Apr 2007 12:44:53 +0200
To: "Anne van Kesteren" <annevk@opera.com>, "Sander Tekelenburg" <st@isoc.nl>, whatwg@lists.whatwg.org, public-html@w3.org
Message-ID: <op.tp5j43g35rel5w@quark>

On Mon, 02 Apr 2007 09:54:04 +0200, Anne van Kesteren <annevk@opera.com>  

> The default style of <hr>, <p>, <table>, et cetera.

Speaking of <hr>, having a default style for it would increase  
interoperability (if only in the presentation layer) a great deal.  
Defining what a <hr> *is* in terms of CSS would help people from having to  
style it like this:

hr {
   border: none;
   background-color: #fff;
   color: #fff;
   line-height: 0;
   height: 0;
   padding: 0;
   margin: 0;

and *still* don't get anything remotely similar from any of the 4 major  
browsers. Is an <hr> a border? A block-level element with a background  
color? How do you change that color? How do you adjust its height? Its  

> Not all authors will use a 'CSS zapper' (whatever it is). They will  
> still expect the same results across user agents.

Thanks for saying that for me. I've never used a "CSS zapper" and I doubt  
I ever will. I usually adjust paddings and margins to 0 on all elements,  
but that's about it.

Asbjørn Ulsberg           -=|=-        asbjorn@ulsberg.no
«He's a loathsome offensive brute, yet I can't look away»
Received on Monday, 2 April 2007 10:42:20 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:08 UTC