![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Web Design & Programming Discussion of web design, and server-side & client-side scripting |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Jan 2009
Posts: 1
OS: windows xp
|
yahoo site builder - help with my navigation bar!?
Ok so I'm building a website and I need help making my navigation bar more presentable. Like, including rollovers on the words. For example, all the words on the navigation bar are going to be gray and when you mouseover one it changes to white. Then after they click on one of the navigations a new page loads up with that navigation still highlighted white, while the rest are gray.
Is this confusing? If so I'll be happy to re-word my question. thank you! |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Moderator: Design
Join Date: Oct 2006
Location: Richmond, B.C.; Canada
Posts: 1,449
OS: Windows XP [Version 5.1.2600] SP3 | Ubuntu Jaunty Jackalope | Windows 7 BETA
|
Re: yahoo site builder - help with my navigation bar!?
Not confusing at all. Are you familiar with CSS?
[/html] <head> <style type="text/css"> a:link {color: #9C9C9C} a:hover {color: white} a:visited {color #9C9C9C} a.current {color: white} </style> </head> <body> <ul class="none"><li><a href="index.html" class="current">Home</a></li><li><a href="about.html>About us</a></li></ul> </body> </html> [/html] In the example above, the page index.html is currently loaded. The first three statements of CSS declare a link and a visited page to be grey, and the rollover to be white. The third statement declares all instances of a link (whether link, visited, or hover) to be grey. The fourth statement declares all instances of a link of the class current to be white. As you may have guessed, you add class="current" to the <a> which links to the current page.
__________________
![]() Validate your Markup Validate your CSS Notepad++ Please use [html], [php], and [code] when posting code or markup. I do not help by Private Message or e-mail. If for some reason I have over-looked a reply to a thread that I have previously replied to, then send me a message. |
|
|
|
![]() |
| Thread Tools | |
|
|