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: <3.0.6.32.20000222011030.008b0100@mail.linpro.no>
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:
<http://lists.w3.org/Archives/Public/www-html/2000Feb/0151.html>
Received on Monday, 21 February 2000 19:11:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:04 GMT