Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Top and Bottom Problem, Please Help

Status
Not open for further replies.

jags22

Programmer
Oct 17, 2001
44
US
Hello Everybody,

Here it goes, I have a document(web page) being created from an application. It is quite a large document so I decided to put a top and bottom on it, to make it easier for people to scroll and I don't have the luxury of breaking the document into pieces, it has to be one large page. I put the top and bottom on and everything works fine for my machine.
The problem occurs when I save it and send it to someone. The top and bottom links are compromised and it gets a page default. This is what it looks like after being sent to someone else:

<a href=&quot;file:///C:/Documents%20and%20Settings/Stephen/Local%20Settings/Temp/LF1.htm#BOTTOM&quot;>

Does anyone know why this is happening or if there is something I can do to fix it? I will try anything at this point. Thanks ahead of time.
 
The hyperlink has been defined with the name & location of your file hard-coded in it.

Try editing the HTML code so that it is
[tt]<a href=&quot;#BOTTOM&quot;>[/tt]

i.e. with just the bookmark name.
One by one, the penguins steal my sanity.
 
It is being created in software that my company designed. It uses a html class that I created and just opens up either a word document or a web page depending on the users preference.
 
ahjaycee,

What you have is what the original code is<a href=&quot;#Bottom&quot;>
For instance, if I save the page without using the top and bottom the original code<a href=&quot;#Bottom&quot;> stays in put if I use the top and bottom and then save it creates what was in my first message. Thanks for you help and if you have any other suggestions I will try it. Thanks...
 
Never mind folks,

I figured it out. When I was saving the page, I was using Web Page complete instead of Web page Html Only. Thanks for your replies on the issue. ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top