<<Back to Article

Imported Stylesheet

/skill level/
/viewed/
0 Times

If you want to store your stylesheet somewhere on your site as a separate file, you can import it into whatever pages you want to apply it to. Just use this line of code, which goes into the <head> of your HTML document. It can also be hacked into the <body> if need be.

<style>
@import url(http://www.yoursite/stylesheets/acoolstyle.css);
</style>
  • This page was last modified 05:03, 15 May 2008.
Edit this article
Reddit Digg