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

 o
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:

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


 o
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

Instructions

  • You must be a registered member and logged in to post messages on our forums.
  • 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 the contents and make changes.
  • After posting your message, you may need to refresh the forum page in order to see it.
  • It is illegal to post copyrighted material without the owner's consent.
  • HTML codes are allowed in the message field only.
  • No advertising is allowed in any of the forums.
  • 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.



 
Click here to learn more about in-text links on this page.