W3C home > Mailing lists > Public > www-style@w3.org > February 2000

Re: Inline styles are banished to legacy

From: Jonny Axelsson <jonny@metastasis.net>
Date: Tue, 22 Feb 2000 01:10:30 +0100
Message-Id: <>
To: www-style@w3.org
At 15:13 21.02.00 -0800, Walter Ian Kaye wrote:

>Let's take a real-world example. I use CSS for syntax coloring on
><http://www.natural-innovations.com/as/snippets.html> (yes, that's
>a Mac-oriented page for an obvious reason). I'd like to know how
>the syntax coloring could ever be done without inline styles.
>Well, unless I were to make new tags for each syntax part, but then
>it wouldn't be HTML anymore.

What you can do with <tag style="some-style"> can also be done with
<style>#QWERTY {some-style}</style> ... <tag id="QWERTY">, but the first is
certainly more convenient.

Corresponding www-html discussion:
Received on Monday, 21 February 2000 19:11:06 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:53 UTC