Erika Meyer wrote:

Is there a special reason, other than stylistic, that you would choose to @import the main stylesheet, rather than directly linking to them both from the HTML file?

I have a few reasons for this approach, and they weigh in a bit more on
static sites than on dynamically created sites.

- I prefer to work on, and maintain, as many aspects of site-wide
styling in as few places as possible, and preferably in those stylesheets.

- Being able to manipulate nearly everything from inside the stylesheets
makes it easy and quick to make changes, and reverse them if necessary.
For instance that I can build up one or more stylesheets for alternative
styles - not "alternate" styles, and test them out by changing the
filename in one place, suits my way of working just fine.

- Working on or expanding to other media than "screen" is also something
I find to be easier when it's all kept in those stylesheets.


Can't show you a regular top 'type 2' stylesheet, but here's a typical
one for 2-column layout on my own 'type 3' site...
<http://www.gunlaug.no/contents/styles/ag2c-041101.css>
...and the matching "same look" 3-column stylesheet...
<http://www.gunlaug.no/contents/styles/ag3c-041101.css>

Especially on static sites I'd find maintenance and further development
of something like that a bit too complicated and time-consuming if I
also had to look at and maintain in-page links.

(FYI: my somewhat cryptic CSS file-names refer to the layout-variants
and dates they were originally created, and I keep update logs/notes on
each of them elsewhere - off line.)

regards
        Georg
--
http://www.gunlaug.no
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to