spiderwebfx
07-23-2007, 06:20 PM
Ok, so I was looking at a source for a website, and noticed how the CSS was pulled into the document. It was done like this:
<link href="stylesheet.css" rel="stylesheet" type="text/css">
Now, I myself have done in quite differently, like this:
<style type="text/css" media="all">
@import "stylesheet.css";
</style>
So the question is, which is the right way to do it? Or if they are both right, which is the best one to use?
<link href="stylesheet.css" rel="stylesheet" type="text/css">
Now, I myself have done in quite differently, like this:
<style type="text/css" media="all">
@import "stylesheet.css";
</style>
So the question is, which is the right way to do it? Or if they are both right, which is the best one to use?
