Not experienced here, need help implenting a stylesheet

Discussion in 'CSS' started by Primetime7, Dec 3, 2007.

  1. #1
    Ok so I downloaded this web template for my site I really like. I've been editing the page in front page, and i test uploaded it to a site, but of course the entire middle background section is missing and it's just the text, because the part that is supposed to be the background is CSS.

    I checked in the files for the template and there is a folder called "CSS" which has a stylesheet in it.

    What I need to know is, how do I get that stylesheet to actually show up on my webpage once I upload it to my host?
     
    Primetime7, Dec 3, 2007 IP
  2. zyml

    zyml Peon

    Messages:
    66
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Look within the <head> tag of the HTML page and look for the following, something like these:

    
    <link href="[b]style.css[/b]" rel="stylesheet" type="text/css" />
    
    Code (markup):
    or

    
    <style type="text/css">
    <!--
    @import url("[b]test.css[/b]");
    -->
    </style>
    
    Code (markup):
    The bold area is the path to the CSS stylesheet. Make sure that it is correct.

    Hope it helps.
     
    zyml, Dec 4, 2007 IP
  3. Primetime7

    Primetime7 Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    But what I don't get is, what would the path be for when the site is up? Cause once I upload the site, it's obviously not gonna load the style sheet off of my pc like it does when I have it open in frontpage. So I do I upload the css to my webhost or something and then make the location of it the path in the code?
     
    Primetime7, Dec 4, 2007 IP