This humble newbie is missing a basic concept. In the following navigation bar code snippet, when the <div id="headerTitle"> is not commented out, the link above to 'Home' will not activate (clicking on the cursor produces no action). When it is commented out, the link above is active. What am I missing?
Also, on my development computer, it doesn't seem to make any difference whether "headerTitle" is commented out or not, the link is still active. However, when an offsite user clicks on 'Home', the "headerTitle" <div> must be commented out for the link to be active. This is most puzzling to me.
Any help is appreciated.
#topNavBar {
margin-bottom: 50px;
width: 98% ;
background-color: #0C71B1;
float: left ;
padding-left: 10px ;
}
#headerTitle {
font-size: 2.5em ;
font-style: italic ;
color: #993300 ;
padding-left: 25% ;
padding-top: 150px ;
}
<div id="topNavBar">
<a href="http://www.example.org/index.html" title="Home Page" class="menuLink">Home</a>
<br class="clear" />
</div>
<!-- <div id="headerTitle">Members Only Page</div> -->
[edited by: alt131 at 7:55 pm (utc) on Jul 9, 2011]
[edit reason] Examplifying href [/edit]