W3C home > Mailing lists > Public > www-svg@w3.org > November 2004

Re: CSS style sheets in SVG

From: MenTaLguY <mental@rydia.net>
Date: Mon, 29 Nov 2004 11:36:04 -0500 (EST)
To: www-svg@w3.org
Message-ID: <Pine.LNX.4.58.0411291124550.12183@locke>

Putting on my author hat for a moment, I've found CSS in SVG to be very
useful in at least respect:  applying consistent colors/widths to various
elements throughout the document.

Real example:  when I do comic page layouts, I generally want all the
panel borders to have the same color, on a page-by-page basis.  Usually
finding the right color requires a bit of experimentation.

As far as I can tell, I have two choices:  give the panel border objects a
CSS class, tweaking the stroke paint for that class in an author
stylesheet, or I can manually go through and change the color on every
panel border individually.

The latter is excrutiatingly painful if I have a lot of panels.  Are there
any less painful approaches which wouldn't involve CSS?

Received on Monday, 29 November 2004 16:36:47 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:01 UTC