Results 1 to 2 of 2

Thread: Imported the style sheet

  1. #1
    Join Date
    Oct 2011
    Posts
    116

    Imported the style sheet

    What is imported Style Sheet? How to link?

  2. #2
    Join Date
    Nov 2012
    Location
    new york
    Posts
    3
    If you want to store your style-sheet 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.
    view source
    print?
    1 <style>
    2
    3 @import url(http://www.yoursite/stylesheets/acoolstyle.css);
    4
    5 </style>

Similar Threads

  1. style definition in linked style sheet
    By terecsi in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 11 Sep 2010, 07:29 PM
  2. Not loading external style sheet
    By tapupartforpres in forum Web Design, HTML Reference and CSS
    Replies: 1
    Last Post: 30 Nov 2009, 01:25 PM
  3. javascript to switch style sheet?
    By electrickeye in forum Web Design, HTML Reference and CSS
    Replies: 1
    Last Post: 16 Apr 2008, 11:50 AM
  4. CSS Style Sheet Help
    By MaX ReaLiTy in forum Web Design, HTML Reference and CSS
    Replies: 1
    Last Post: 09 Nov 2005, 07:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •