On Fri, 15 Dec 2006 18:26:53 +0100, Dean Edwards <[EMAIL PROTECTED]> wrote:

Anne van Kesteren wrote:

Dean Edwards wrote:

Thoughts?

 My thought is that this is a CSS issue and not a markup issue.

I agree with Anne; this is a CSS issue.

It feels right to fix it with markup.

I completely disagree! :) It feels very wrong to fix a CSS issue with markup. For what other uses than styling does <reset> make sense? What semantic meaning does it give the content inside it?

A much better solution is a 'reset' property or property value in CSS that can reset different inherited and cascaded property values. I can picture something like this:

#box {
  color : red;
  text-align: center;
}

#box div {
  reset : color; /* resets the color to the browser's default value */
}

#box span {
  reset : *; /* resets all cascading and inherited properties */
}

I think this is actually something lacking in CSS and something that indeed should be proposed to the CSS WG.

--
Asbjørn Ulsberg     -=|=-    http://virtuelvis.com/quark/
«He's a loathsome offensive brute, yet I can't look away»

Reply via email to