the html code adds 20% to my code

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i was having problems with some items not working. then i noticed in the html
code that there were these 20% things showing uo everywhere. it looks like
this
<a href="News%20and%20Updates.htm">Schedule of Events</a><br>
im at wits end, can anyone help.
thanks doug
 
Those represent spaces in you file and folder names.
<a href="News%20and%20Updates.htm"> should be
<a href="NewsandUpdates.htm"> or <a href="News-and-Updates.htm">
Or: <a href="News_and_Updates.htm">
Be sure your photo's name don't have spaces either.
Eleanor
 
doug said:
i was having problems with some items not working. then i noticed in
the html
code that there were these 20% things showing uo everywhere. it
looks like
this
<a href="News%20and%20Updates.htm">Schedule of Events</a><br>
im at wits end, can anyone help.
thanks doug

Try changing the code to:
<a herf="news_and_updates.htm>Schedule of Events</a><br>

The hard code needs to be all lower case letters with no spaces.

Tom J
 
Gene said:
Tom,

Why do you say it needs to be lowercase?

Thanks, Gene

Although Windows based servers ignore the case, the same is NOT true for
Linux based servers.

Index.html, INDEX.HTML and index.html are all the same in Windows but
all separate files in Linux.

So best practice is to use all lower case, to ensure there will not be
problems.
 
Hi Paul,
Although Windows based servers ignore the case, the same is NOT true for
Linux based servers. Index.html, INDEX.HTML and index.html are all the
same in Windows but all separate files in Linux. So best practice is to
use all lower case, to ensure there will not be problems.<

That is very helpful; thanks very much.

Sincerely,
Gene
 
Back
Top