taaron12 Posted August 21, 2009 Share Posted August 21, 2009 Hi guys. I ran a search, but couldn't find anything. Hope ya'll don't mind me asking. I'm trying to work on my css for my site. I was wondering, is it possible to link multiple external CSS files, (.i.e. One for the navigation Menu, one for the layout(s))? If anyone else has some advice, I'd appreciate it!Taaron Link to comment Share on other sites More sharing options...
jeffman Posted August 21, 2009 Share Posted August 21, 2009 Absolutely. The simplest thing is just to have multiple <link> elements in your head.You can also use @ rules: <style type="text/css"> @import url(monkey.css); @import url(zebra.css); @import url(human.css);</style> @ rules MUST be the first line(s) of a style sheet, internal or external. Style rules must come below them.I find that @ rules make for cleaner looking, easy to read code. Link to comment Share on other sites More sharing options...
bigsilk Posted August 21, 2009 Share Posted August 21, 2009 Be careful how you use elements throughout each style sheet, though. You can end up with conflicting selector property values (body value, etc.) Link to comment Share on other sites More sharing options...
taaron12 Posted August 21, 2009 Author Share Posted August 21, 2009 Thanks, guys. Taaron Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.