Return to the Web Authoring Forum | Post a Follow-Up

Question about style sheets

Posted by Netla (My Page) on
Wed, Jan 8, 03 at 11:05

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.

Follow-Up Postings:

RE: Question about style sheets

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.

RE: Question about style sheets

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).

 o Post a Follow-Up

Please Note: Only registered members are able to post messages to this forum.

    If you are a member, please log in.

    If you aren't yet a member, join now!

Return to the Web Authoring Forum

Information about Posting

  • You must be logged in to post a message. Once you are logged in, a posting window will appear at the bottom of the messages. If you are not a member, please register for an account.
  • Please review our Rules of Play before posting.
  • Posting is a two-step process. Once you have composed your message, you will be taken to the preview page. You will then have a chance to review your post, make changes and upload photos.
  • After posting your message, you may need to refresh the forum page in order to see it.
  • Before posting copyrighted material, please read about Copyright and Fair Use.
  • We have a strict no-advertising policy!
  • If you would like to practice posting or uploading photos, please visit our Test forum.
  • If you need assistance, please Contact Us and we will be happy to help.

Learn more about in-text links on this page here