473,394 Members | 1,759 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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
Oct 26 '11 #1
9 1789
drhowarddrfine
7,435 Expert 4TB
Your SEO software is full of BS.
Oct 26 '11 #3
Garry
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.
Oct 26 '11 #4
Thanks Garry, very clear answer. Does this actually make a difference with SEO?
Oct 26 '11 #5
drhowarddrfine
7,435 Expert 4TB
No. CSS never has anything to do with SEO.
Oct 27 '11 #6
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.
Oct 27 '11 #7
zorgi
431 Expert 256MB
@html illiterate
"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.
Oct 28 '11 #8
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.
Oct 28 '11 #9
drhowarddrfine
7,435 Expert 4TB
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.
Oct 28 '11 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: George Ziniewicz | last post by:
.. I have an html file with javascript functions in the <head> section that work fine when called from events or instanced as objects. When I move the functions to an external js file they don't...
1
by: mr_burns | last post by:
Hi, i was wondering if it is possible to load text into a string from an external text file. the reason is that i have a very large string and it is making my script very messy. also, is it...
2
by: Hugh Macdonald | last post by:
I'm writing a tool at the moment that reads in an external file (which can use any Python syntax) At the moment, I'm reading the file in using: scriptLines = open(baseRippleScript).read()...
1
by: teddarr | last post by:
I'm having trouble reading the first 2 lines of data in an external file. I am supposed to use a while loop to read the first 2 lines of an external file that contains several random integers. I...
1
by: garek007 | last post by:
I'm wondering if there is such a way, without using javascript, to place a piece of text like a token, or identifier, that will get it's value from an outside source, such as a text file. So if I...
2
by: UofFprogrammer | last post by:
Hello, Several Weeks ago I asked a question about testing for the end of an input file. I have been using this method pretty well for inputting information from an external file. I am using C++. ...
8
by: Rob Stevens | last post by:
Is there anything in c# like using an external file or an include file to store some of your functions? It's getting really hard to find your way around when you have so many functions in your...
2
by: iamdennis | last post by:
Hi all. I stuck here and need some help. I have created a combo box which contains a list of links to external PDF files. I also created a OPEN command button next to the combo box. I want to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.