Where to place CSScode in an external file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • html illiterate
    New Member
    • Oct 2011
    • 7

    Where to place CSScode in an external file

    My SEO software is recommending that I place my style sheet code in an external file with a link to it to help my keyword density and bring relevant info closer to the top of the page. Where should this external folder be placed so my page can find it? thanks, Jeff
  • zorgi
    Recognized Expert Contributor
    • Mar 2008
    • 431

    #2

    Comment

    • drhowarddrfine
      Recognized Expert Expert
      • Sep 2006
      • 7434

      #3
      Your SEO software is full of BS.

      Comment

      • Garry
        New Member
        • Oct 2011
        • 4

        #4
        I normally create a css folder in the home directory and place the file in it.
        The file should finish with .css (i.e. yourfile.css)
        In the head of your HTML file (beween <head> and </head>) place a link to the CSS file.
        i.e.
        <head>
        <link rel="stylesheet " type="text/css" href="../css/yourfile.css">
        </head>
        (../) is top directory
        (css) is the folder you created in the home directory
        (yourfile.css) is the CSS file you wrote and placed in the CSS folder.

        Comment

        • html illiterate
          New Member
          • Oct 2011
          • 7

          #5
          Thanks Garry, very clear answer. Does this actually make a difference with SEO?

          Comment

          • drhowarddrfine
            Recognized Expert Expert
            • Sep 2006
            • 7434

            #6
            No. CSS never has anything to do with SEO.

            Comment

            • html illiterate
              New Member
              • Oct 2011
              • 7

              #7
              I have been trying to do this for about 2 hours now. My site will not let me create a css folder in the home directory. I tried placing it in a directory where it did let me create the folder and changed the code to link to it there but my site does not look good at all. I put everything back to the original configuration and my site looks normal again but I have accomplished nothing.

              Comment

              • zorgi
                Recognized Expert Contributor
                • Mar 2008
                • 431

                #8
                Originally posted by html illiterate
                ....but my site does not look good at all.
                "but my site does not look good at all."

                What do you mean by that? Is layout Ok? Can yo u describe what does and what doesn't look good and how? Maybe screen grab.

                Comment

                • html illiterate
                  New Member
                  • Oct 2011
                  • 7

                  #9
                  Site layout is terrible. page is about 4-5 times longer than it should be and all my text is below what was the footer. All text is pushed to the left side also. can't do a screen grab as I put it back to the way it was with the css info back in the head.

                  Comment

                  • drhowarddrfine
                    Recognized Expert Expert
                    • Sep 2006
                    • 7434

                    #10
                    Are you using a Windows server or *nix?

                    Without a link, or the complete markup, anything we say will just be wild guesses about the problems with the site itself.

                    Comment

                    Working...