Re: CSS Organizer (feedback pleas)

On Tue, 2005-11-01 at 10:32 -0600, Lonnie Best wrote:

> and it will alphabetically organize and format the sheet.

Changing the order of style declarations can alter the way a page is
rendered, the prime example being:

a:link { color: red; }
a:visited { color: white; }
a:hover { color: blue; }

which your tool changes to

a:hover
{
	color: blue;
}
a:link
{
	color: red;
}
a:visited
{
	color: white;
}

... the a:hover style will now never match any link since a:link or
a:visited will override it.

I'm afraid that this renders the practical value of the tool as
practically nil.

-- 
David Dorward                           <http://dorward.me.uk/>
"Anybody remotely interesting is mad, in some way or another."
                             -- The Greatest Show in the Galaxy

Received on Tuesday, 1 November 2005 20:54:43 UTC