WEB Embedding CSS to HTML

Discussion in 'OT Technology' started by gandhibrokemyskates, Feb 17, 2010.

  1. gandhibrokemyskates

    gandhibrokemyskates slangin beer

    Joined:
    Jun 22, 2001
    Messages:
    28,157
    Likes Received:
    0
    Location:
    Houston
    I'm going to try this again.

    I am trying to figure out how to get the layout of www.charliefoxtrotclothing.com/catalog (the gray with white smears) to appear on the index.html file of www.charliefoxtrotclothing.com.

    The catalog uses css and the css sheet is in another sub folder.

    I've found the tutorials but I know I'm not doing it right. I know the code goes i the head of the document.
    I think this is the code to use to access it but again, the css style is in a subfolder. Do I need to add the url and the subfolder it contains?

    I am new to css. Any guidance would be appreciated.
     
  2. gandhibrokemyskates

    gandhibrokemyskates slangin beer

    Joined:
    Jun 22, 2001
    Messages:
    28,157
    Likes Received:
    0
    Location:
    Houston
    Thanks for all the help guys!!




    :ugh:
     
  3. thekraft

    thekraft New Member

    Joined:
    Mar 2, 2005
    Messages:
    710
    Likes Received:
    0
    Welcome
     
  4. Browning

    Browning Active Member

    Joined:
    Feb 14, 2005
    Messages:
    89,465
    Likes Received:
    10
  5. White Stormy

    White Stormy Take that, subspace!

    Joined:
    Sep 17, 2002
    Messages:
    85,489
    Likes Received:
    70
    Location:
    Sparkopolis
  6. White Stormy

    White Stormy Take that, subspace!

    Joined:
    Sep 17, 2002
    Messages:
    85,489
    Likes Received:
    70
    Location:
    Sparkopolis
    :ugh:
    The catalog only has one CSS file..
    Code:
    <link rel="stylesheet" type="text/css" href="main.css" />
    to use it in the parent all you need is
    Code:
    <link rel="stylesheet" type="text/css" href="catalog/main.css" /> 
     
  7. gandhibrokemyskates

    gandhibrokemyskates slangin beer

    Joined:
    Jun 22, 2001
    Messages:
    28,157
    Likes Received:
    0
    Location:
    Houston
    wtf, that was retarded easy. Thanks, everyone else had a response that was very vague or go read this.
     
  8. Josh

    Josh Guest

    probably because people tried to answer it without seeing what you're working with...
     

Share This Page