Thread: CSS Question
View Single Post
Old 02-28-2012, 02:35 PM   #17
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Quote:
Originally Posted by dwig View Post
That would be good, but it would be better to have two items:

Insert into current HTML page
Insert into all HTML pages

Like S&R, have a choice between a single targeted HTML and a global action.

Also have the insertion be intelligent. Have the insertion placed after all other <link...> entries. That way you can insert multiple stylesheets in a particular order by first inserting one and then the other.
Well, what I'm actually implementing is support for single file or multiple selection right click to bring up a dialog to show you which stylesheets are in the selected html files and to allow you to include/exclude them and in what order. Its about half-way done so I'll have to dig up the code and finish it off

A simple tick on/off like Add semantics doesn't work since the order of stylesheets is important in files. Using a set as a default for new files is a possibility.
meme is offline   Reply With Quote