your thoughts on applying multiple stylesheets to a page
I have a main stylesheet that I apply to all pages in a site, they each
sub-section has a subsection stylesheet that either overrides or applies
new style to pages in that subsection, then finally each page in a
subsection may need even more fine tuning.
In the past I would use <link href="page.css" rel="stylesheet"
type="text/css">, then in page.css I would import section.css, and
section.css would import main.css.
I am looking at changing to multiple link tags like:
<link href="main.css" rel="stylesheet" type="text/css">
<link href="section.css" rel="stylesheet" type="text/css">
<link href="page.css" rel="stylesheet" type="text/css">
Assuming I am careful to consider the cascade, is there anything I
should be careful of using this method to apply multiple stylesheets?
Also, what are the implications of using or not using a common title
attribute?
|