Forum Moderators: not2easy
the syntax is..
<link rel="stylesheet" type="text/css" media="all" href="/styles/default.css">
<link rel="stylesheet" type="text/css" media="print" href="/styles/print.css">
<style type="text/css">
@import url(style.css);
</style>
Or for media specific CSS:
<style type="text/css">
@import url(screen.css) screen;
@import url(print.css) print;
@import url(aural.css) aural;
@import url(print.css) all;
</style>
Use both link and @import can be useful in supplying browsers with stylesheets based on compatibility. For example:
<line rel="stylesheet" type="text/css" href="old.css">
<style type="text/css">
@import url(new.css);
</style>
Here old browsers will get "old.css" and new browsers will get both "old.css" and "new.css". But, using the cascade, new.css will supercede all style rules set in "old.css" (remember to use all the same id and class names!).
HTH