You are here: Hosting Service Stripping out internal link names « HTML « IT news, forums, messages
Hosting Service Stripping out internal link names

Posted by Grant Robertson on 04/10/07 06:54

I am currently set up for the free hosting at DirectNIC.com.

I am using static XHTML web pages with CSS and server side includes.
Everything seems to be working OK except for one rather odd behavior.
When it serves up my web pages it strips the #linkName text out of my
internal links.

My code has...

<ul>
<li><a href="#noinfo">Information is not available when needed.</a></li>
<li><a href="#textbooks">Textbooks have only one explanation.</a></li>
</ul>

....which links to...

<h3><a name="noinfo" />Information is not available when needed.</h3>
<h3><a name="textbooks" />Textbooks have only one explanation.</h3>

....on the same page.


However, the links don't work. When I view the source from the server my
links look like this...

<ul>
<li><a href="">Information is not available when needed.</a></li>
<li><a href="">Textbooks have only one explanation.</a></li>
</ul>


What the heck? I have used FileZilla to FTP the file back down to check
the code and the #linkname text is still there. It is only missing when I
view the source using the browser's View Source command. I get the
behavior in both Firefox 2.xx and IE 7.0.

The problem page is at...

http://demml.org/goals/problem/index.htm

....if you want to take a look.

Why in the world would the server strip out this code?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация