At 03:52 PM 04/24/02 +0200, Per Einar Ellefsen wrote:
>There isn't any solution for this in CSS. It's AFAIK, but I have been
>reading the CSS2 spec lately, and there are only 3 ways to specify colors:
>color: black;
>color: #000000 (or alternatively: #000)
>color: rgb(0, 0, 0);
That's too bad. Seems like you should be able to define a set of colors
and then use them.
> fgrep color style.css | grep '#' | wc -l
55
A lot of those are black or white, but it leaves room for error to have
colors specified so many places.
I've used TT to generate style sheets.
>>[OT]: I'm joking a bit here, but style sheets were suppose to separate
>>presentation from code (html). I always imagined that html *was* the
>>presentation layer. Isn't <li> a presentation issue? The world could have
>>avoided style sheets if all html was generated by TT. ;)
>
>I really hope this is a joke :) No, <li> is a structural issue: it's an
>item of a list, that's all you know. If you present it as an icon, a
>bullet, or a dog bark, that's the issue of the style sheet and the UA.
Ok, but I was thinking more that I have an array of data. It can be shown
in an <ol>, an <ul>, or in a loop of <br>s. So, it's the same data, just
different ways to present the array of data. For me, it's really hard not
to think of HTML as the presentation layer when using TT and all the
content is in a perl data structure.
--
Bill Moseley
mailto:[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]