cpanel
Jason D asked:


I used a Css style sheet to make my website pages from templates. I use cpanel to host my site. I uploaded my pages, pics, etc. to the public area of my file manager in cpanel. However the css style sheet didnt take. The pages are unformatted. Where do I need to upload my Css style sheet to cpanel so it will effect my pages?

Comments

saff on 23 November, 2008 at 9:18 pm #

Your stylesheet will need to be located in whichever location is defined by the pages in the ‘link’ tag.

The link tag can be found inside the page header and looks something like:

The location of the required stylesheet is in the href attribute of the tag. Here, the style sheet should be in the same directory as the HTML file(s) and should be named style.css.

To check whether your CSS file was uploaded successfully you can enter it as an address in your browser. So, for the previous example, if the page didn’t seem to be using the style, you could try. If you get a 404, try uploading the file to the correct location again.


Post a Comment
Name:
Email:
Website:
Comments: