Hello,
I see from the basic intall of EE that it suggests you put your stylesheet in a template group. Can anyone tell me why you would do this and not just leave it loose on the server? E.g.
Why this
<link rel="stylesheet" href="{stylesheet=site/general_styles}" media="screen" />
instead of this
<link rel="stylesheet" href="http://domainname.com/styles/general_styles.css" media="screen" />
The reason I’ve been doing the latter, is because (I save my templates as files and edit them with a text editor) and I can still have my file as a .css file and so when I edit it in my text editor it has the proper highlighting. If I put it in a template group it is a .php file and is difficult to read. It also means I can use it with local test files as well as on the server.
Apart from the tidiness of keeping all the files organised in the same way/inside EE template groups, what are the advantages of putting your css in there?
Thanks!
