I had a quick question - and probably one that everyone on this list but me knows about :) - about stylesheets and the @import rule. I was working on converting a Wordpress theme today (Blix, if anyone cares to know), and the stylesheet had something I had never seen before. Basically, the header of the document called in the stylesheet like so:
<link rel="stylesheet" media="screen" href="styles.css" /> This is typical (at least for me...). However, in the "styles.css" file, there were only two lines: @import "layout.css"; @import "spring_flavour.css"; I have never seen this before. Honestly, I think it's as cool as hell. It basically used the regular main stylesheet to just list the other stylesheets relevant to the layout, and display them as needed. So far, the only reason I can guess one would do this is 1) so as to only call in one stylesheet in the actual HTML document (styles.css), but 2) to actually keep all of the stylesheets for different parts of the layout separated to make it easier to edit and find stuff later on. I was curious if anyone here had seen or used such a method before, and if so, are there any drawbacks to doing so? Are there any problems in using stylesheets in this manner, or is it a common practice? If there are no drawbacks or weirdness into using stylesheets in this manner, I *so* want to utilize this. It could come in very handy for a large site I'm working on right now. Thanks a bunch :) ~Shelly ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
