Jump to content

[SOLVED] Help with site Nav....


dipp02

Recommended Posts

Malevolence - if you get a chance. i had to delete my a: a:hover  etc because it was applying that to my nav.

 

I got it all fixed up now.

 

But i would like to do a hover over on the footer. basically i was reading on multiple hover links but what i was doing wasnt working.

 

i was making the class="footer". like this:

 

<div align="center"><a href="terms.php"><span class="footer">Terms Of Service</span></a></div>

 

and in styles.css i put

a.footer:hover {
font-family: Calibri, Verdana, Arial, Helvetica, sans-serif;
color: #ECC653;
font-size: 11px;
font-weight:bold;
text-decoration: none;
}
.footer{
font-family: Calibri, Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight:bold;
   color:#FFFFFF;
}

 

it doesnt hover over, it only changes it to white. text.

 

here is what i got so far with the working css nav.

 

www.dbhosts.net/test/

Yep. Your problem there is that you put the hyperlink OUTSIDE the <span></span> tags so it doesn't recognize them. You also did the CSS titles the wrong way round and forgot to put an a next to the non-hover state.

 

Here is the footer code:

<div align="center"><span class="footer"><a href="terms.php">Terms Of Service</a></span></div>

 

And here's the styles.css:

.footer a:hover {
font-family: Calibri, Verdana, Arial, Helvetica, sans-serif;
color: #ECC653;
font-size: 11px;
font-weight:bold;
text-decoration: none;
}
.footer a{
font-family: Calibri, Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight:bold;
   color:#FFFFFF;
}

 

If you need any other help with your site I'm usually available. I'm fairly skilled in HTML & CSS and I know my fair share of PHP and JS.

 

All the best luck to your site,

Dan.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.