By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,790 Members | 1,107 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,790 IT Pros & Developers. It's quick & easy.

Website to CD/DVD

AndesHelp
P: 9
I apologize if the answer is already posted. I did do a search but did not see it.

I have developed a website for publications using CSS and HTML. I now need to be able to publish this website to either a CD or DVD for distribution. However, I am unable to remember how to make the CD/DVD able to find the webpages through the hyper-links on the CD/DVD. IE and Firefox keep looking for the specific drive letter of the CD/DVD drive as part of the path for the web page.

I have the web page hot link specified as <a href= "../1123.htm">Booklets</a>
and the browser keeps looking for the specific address: file:///G:/1123.htm, which does not exist.

What have I forgotten?
Jan 3 '08 #1
Share this Question
Share on Google+
3 Replies


drhowarddrfine
Expert 5K+
P: 7,435
Try <a href="file://c:\rest\of\path.html">

I don't use Windows but I think that's the way it works. You need to give the full pathname. If not, add another forward slash in file:///. It's possible, but not likely, the slashes are to go the other way, file:\\\ for Win.
Jan 3 '08 #2

AndesHelp
P: 9
Try <a href="file://c:\rest\of\path.html">

I don't use Windows but I think that's the way it works. You need to give the full pathname. If not, add another forward slash in file:///. It's possible, but not likely, the slashes are to go the other way, file:\\\ for Win.
Thanks for the response.

Since I will not know what the actual drive letter, or even what browser will be used, for the CD/DVD drive the user will have I can not put a specific drive letter into the "href" script. I know there is a generic entry for the root, no matter what the actual drive letter is. Guess I'll have to dig out some of my old Windows "How Tos" and look there.
Jan 3 '08 #3

AndesHelp
P: 9
I found my answer. I just needed to fine tune the file paths to "absolute" paths. Usind a "../" for a lower folder/directory and just "/" for file in the root folder/directory.

Then just copy the website to be burned onto a CD. Now all I have to do is set it up to "auto start" when inserted.
Jan 3 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.