PDA

View Full Version : Help with mainnav


Mary Ann
10-28-2008, 05:30 PM
I have the following code in my mainnav.lbi. IHere is the code. Can anyone see the problem.

Home</a>&nbsp;|&nbsp;
<ahref="../aboutus.htm">AboutUs</a>|&nbsp;
<ahref="../preactivities.htm">PreActivities</a>&nbsp;|&nbsp;&nbsp;
<ahref="../Donations.htm">Support</a>&nbsp;|&nbsp;&nbsp;
<ahref="../press.htm">PressReleases</a>&nbsp;|&nbsp;
<ahref="../participatingenactors.htm">ParticipatingRe-enactors</a>&nbsp;|&nbsp;
<ahref="../sutlers.htm">Sutlers/Vendors</a>|&nbsp;
<ahref="../motels.htm">CampgroundsMotelsFood</a>&nbsp;|
<ahref="../costuming.htm">Costuming</a>&nbsp;|&nbsp;|
<ahref="../committees-volunteers.htm">Committees-volunteers</a>|&nbsp;
<ahref="../location.htm">Location</a>&nbsp;&nbsp;|
<ahref="../forms.htm">OnlineForms</a>&nbsp;|&nbsp;
<ahref="../poster.htm">EventPoster</a>&nbsp;|&nbsp;
<ahref="../photos.htm">Photos</a>&nbsp;|&nbsp;
<ahref="../merchandise.htm">Merchandise</a>&nbsp;|&nbsp;
<ahref="../movies.htm">Movies-Books</a>&nbsp;&nbsp;|&nbsp;
<ahref="../wwwboard">DiscussionBoard </a>&nbsp;&nbsp;|&nbsp;
<ahref="../links.htm">Links</a>|&nbsp;
<ahref="../contact.htm">Contact</a>

2bz2p
10-28-2008, 06:04 PM
welcome to the site,

at first glance I would say that this is what is going on

<a> is the tag
href"..." is an attribute of the tag

you will see that without the space it thinks that the href is part of the tag and doesnt recognize that tag.
your code:
<ahref="../aboutus.htm">AboutUs</a>

With the space it realizes that the a is the tag and the href is an attribute.
Code with Space
<a href="../aboutus.htm">AboutUs</a>

Hope that helps
2b