Question about style sheets

netlaJanuary 8, 2003

I update the backgrounds for my cooking website on a seasonal basis, and I have been trying to use an external style sheet in order to do this more quickly, but I don't seem to be able to make it work - that is, it works fine on my computer, but when I've uploaded it to the server, it doesn't work. Any suggestion as to why? I'm using FrontPage 2000.

Thank you for reporting this comment. Undo
Ray_Scheel

Have you uploaded a current copy the stylesheet itself, and is the link to it possibly using a local path instead of a relative path?

To invoke a stylesheet called "mainstyle.css" sitting in the root folder of a website, the call to the stylesheet within the header should resemble the following (enclose in angle brackets):

link rel="stylesheet" href="mainstyle.css" type="text/css

If you are trying to invoke the stylesheet form a subdirectory, put a "../" in front of the name of the stylesheet for each directory down you go.

Ther are many, many, bad coding practices that look like they work within FrontPage (or are even done *by* FrontPage) that do not work (well) when placed on a properly functioning webserver.

    Bookmark   January 8, 2003 at 2:59PM
Thank you for reporting this comment. Undo
netla

I'll check this out - I used the "link styles" command to put in the link to the style sheet and FP may have messed something up (or I might have).

    Bookmark   January 9, 2003 at 3:52AM
Sign Up to comment
More Discussions
Checking for the presence of adblocker.
Asteroids This post was edited by chuggerguy on Fri,...
Richard (chuggerguy)
CSS3 Image Transforms.
<img width="550px" src="http://chuggerguy.com/pub/forumphotos/images/8start.png"...
Richard (chuggerguy)
Cloud Computing
What is the Advantages of Cloud Computing ?
Tinaustin
E-commerce options?
My niece asked for my help in creating a web site for...
jenn
© 2015 Houzz Inc. Houzz® The new way to design your home™