Static Template Uses Absolute Pathnames!

W

whitesmith

I'm new to FrontPage 2003. I created a static template for a new
website. When I create a page using this template and look at the code
I see absolute paths like:

<link rel="stylesheet" type="text/css"
href="file:///C:/Documents%20and%20Settings/user3/My%20Documents/My%20Webs/test/_private/default.css">

instead of <link rel="stylesheet" type="text/css"
href="_private/default.css">

Obviously absolute paths mean nothing when published to a server. What
am I doing wrong? FP2000 always used relative paths. My thanks to
anyone who helps me out.
 
S

Steve Easton

That "usually" indicates you are working on a page that has not been opened inside of a
web by first opening FrontPage, then a web and then a page to edit.

Also, you shouldn't place the css file in the _private folder.
It should be in a public area of your web.



--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
W

whitesmith

Steve said:
That "usually" indicates you are working on a page that has not been opened inside of a
web by first opening FrontPage, then a web and then a page to edit.

Also, you shouldn't place the css file in the _private folder.
It should be in a public area of your web.



--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
.......................with a computer

Bingo! I borrowed the style sheet from Buyens' FP2003 book and copied it with Windows explorer to my FP web. Importing it did the trick. Thanks for your advice.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top