Calling CSS from an external file?

liunx

Guest
Is there a way of calling css externally instead of having it the html. For instance, with javascript i write, <Script Language="Javascript" src=http://www.webdeveloper.com/forum/archive/index.php/"filename.js">. Would've thought doing the same for css would've been just as straight forward but I can't for the life of me work it out, can anyone help please?!Yes.

There's two ways...

In the <head>..</head>


<link rel="stylsheet" href=http://www.webdeveloper.com/forum/archive/index.php/"styles.css" type="text/css" media="screen, projection" />


Or:


<style type="text/css" media="screen, projection">@import url('style.css');</style>


HTH.Thanks that worked perfectly.Originally posted by ramon_marett
Thanks that worked perfectly.

You're very welcome. :)
 
Back
Top