Style Insight for non-referenced css files
-
- Rank 0 - Newcomer
- Posts: 9
- Joined: Tue May 29, 2012 4:42 am
Style Insight for non-referenced css files
As I work a lot with html code template snippets where isn't any reference/link to a css file, I can't use the style insight feature for e.g. css classes. It would be nice to have a feature to include all css files in a site or a certain folder.
-
- Rank VI - Professional
- Posts: 506
- Joined: Sat Jun 13, 2009 12:38 pm
Re: Style Insight for non-referenced css files
Good news: there is an undocumented feature for this.
You'll need to create a file named TopStyle.cfg in the directory where your HTML doc is.
This TopStyle.cfg should look something like this:
[links]
C:\Users\svanas\Desktop\1.css
C:\Users\svanas\Desktop\2.css
You can add as many links to other style sheets as you like. Here are the rules:
* they need to be under the [links] section
* a relative path should start with ./ or .\
* they need to exist
You'll need to create a file named TopStyle.cfg in the directory where your HTML doc is.
This TopStyle.cfg should look something like this:
[links]
C:\Users\svanas\Desktop\1.css
C:\Users\svanas\Desktop\2.css
You can add as many links to other style sheets as you like. Here are the rules:
* they need to be under the [links] section
* a relative path should start with ./ or .\
* they need to exist
-
- Rank 0 - Newcomer
- Posts: 9
- Joined: Tue May 29, 2012 4:42 am
Re: Style Insight for non-referenced css files
Works like a charm.