Click here to Skip to main content
11,928,587 members (57,091 online)
Rate this:
Please Sign up or sign in to vote.
See more: ASP.NET CSS Style
Dear Friends,

Am facing problem with Menu.

I have created a website in c# and used Css , style sheets.

my requirement is, when i select particular page from menu..MOUSE OVER Should stay on that particular page. so that user can understand that he is on this page.

This is my style sheet css

.green #slatenav
left: 520px;
.green #slatenav ul{margin:0px;padding:0;list-style-type:none;width:auto; }
.green #slatenav ul li{display:block;float:left;margin:0 1px 10px 8px;}
.green #slatenav ul li a{display:block;float:left;color:#197E46;text-decoration:none;padding:14px 10px 0 10px;height:28px;
.green #slatenav ul li a:hover,.green #slatenav ul li a.current
{color:#fff;background:transparent url(images/greenslate_backgroundOVER.gif) no-repeat top center;}

This is my master page.

   <div class="green">
   <div id="slatenav">
    <li><a href="Home.aspx" onclick="Home_Click"><span>Home</span></a></li>

                 <li><a href="AboutUs.aspx" onclick="AboutUs_Click"><span>AboutUs</span></a></li>
                 <li><a href="OurVision.aspx" onclick="Our Vision_Click"><span> OurVision</span></a></li>
               <li><a href="OurMission.aspx" onclick="OurMission.aspx_Click"><span>Our Mission</span></a></li>
                <li><a href="ContactUs.aspx" onclick="ContactUs_Click" ><span>Contact Us</span></a></li>

So, please help me, If i Mouse over on this pages, it must stay mouse over till the user goes for another page.

Thanks in Advance...................
Posted 29-Oct-12 0:45am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web03 | 2.8.151126.1 | Last Updated 29 Oct 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100