Blogspot .css code problem

Discussion in 'HTML & Website Design' started by Hendricius, Jun 30, 2008.

  1. #1
    Hey guys,

    I can not figure out how I can move the blogspot .css into an external file. The code that is used is the following:

    What must I type in to use an external style sheet instead?

    Thanks!
     
    Hendricius, Jun 30, 2008 IP
  2. Hendricius

    Hendricius Peon

    Messages:
    443
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    nobody? knows?
     
    Hendricius, Jul 1, 2008 IP
  3. nhc1987

    nhc1987 Notable Member

    Messages:
    2,674
    Likes Received:
    240
    Best Answers:
    0
    Trophy Points:
    280
    #3
    Hi Hendricius,

    You can follow these steps:

    1. Create a style.css file, paste all the css code to it then upload to your host
    2. Add this line before </head>. Remember change the link in bold to yours

    Cheers
     
    nhc1987, Aug 6, 2008 IP
  4. tendulkar2

    tendulkar2 Banned

    Messages:
    2,617
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    0
    #4
    why you want to do that..? There's no need to move the css into an external file. keep it there and it works..
     
    tendulkar2, Aug 6, 2008 IP
  5. sucka

    sucka Well-Known Member

    Messages:
    298
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    105
    #5
    It might work but it´s unusual to do so, cause of the abridgment of ur sourecode.

    U can call it civility :D

    So put it into an extra file :p
     
    sucka, Aug 6, 2008 IP
  6. nhc1987

    nhc1987 Notable Member

    Messages:
    2,674
    Likes Received:
    240
    Best Answers:
    0
    Trophy Points:
    280
    #6
    Hi tendulkar2,

    It is better when we move the css code to another file, not only make your template more beautiful but also good for SEO!

    When google cache, if 2 pages have the same content/keywords, the lighter size will be shown above others on Search Engine :)

    That's why wordpress (and many) use an external css file, huh ?
     
    nhc1987, Aug 6, 2008 IP