Is this possible?

Discussion in 'CSS' started by jigolo, Dec 9, 2008.

  1. #1
    Hi i wanted to know if its possible that i can insert a remote css just for the certain table in my sites. Coz i got a lot of sites to insert this code and i dont wanted to include the code again and again in every css file of every sites. I just wanted to have one file and every site can fetch the css code on that file.

    Let me know please how to do this.

    Thanks
     
    jigolo, Dec 9, 2008 IP
  2. SamOwen

    SamOwen Peon

    Messages:
    865
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yes, it's possible. Google "external css".
     
    SamOwen, Dec 9, 2008 IP
  3. cheapez

    cheapez Active Member

    Messages:
    1,123
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    78
    #3
    make a stylesheet that you want to included in all other sites you have, then uploaded that stylesheet to one of your site.
    example: http://www.yourdomain.com/style.css

    Then add this in other sites, between the <header></header> tags:

    <link href="http://www.yourdomain.com/style.css" rel="stylesheet" type="text/css" media="screen" />
     
    cheapez, Dec 10, 2008 IP
  4. jigolo

    jigolo Peon

    Messages:
    312
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Is this work if i wanted just 1 div to have that certain css? Coz each of my websites have different kind of css codes and i dont want to mess with them.

    Let me know..

    Thanks
     
    jigolo, Dec 11, 2008 IP