order of css ?
Posted: Thu Jan 26, 2006 11:50 am
is there any mechanism that determines the order of the css stylesheets when combined and output to the client?
if there isn't; there should be.
the reason i ask this is that i have a 3 column layout in one stylesheet and then have an additional one that turns it into a 2 column layout (no changes to the html itself), and then also have one i can apply after that to flip the order of those 2 columns (eg. sidebar right instead of sidebar left). the order the styles get applied (that's the whole concept of 'cascading' in css) are important.
these layouts, in case you're wondering, were originally based on ones found at http://webhost.bridgew.edu/etribou/layouts/
if there isn't; there should be.
the reason i ask this is that i have a 3 column layout in one stylesheet and then have an additional one that turns it into a 2 column layout (no changes to the html itself), and then also have one i can apply after that to flip the order of those 2 columns (eg. sidebar right instead of sidebar left). the order the styles get applied (that's the whole concept of 'cascading' in css) are important.
these layouts, in case you're wondering, were originally based on ones found at http://webhost.bridgew.edu/etribou/layouts/