Click here to Skip to main content
11,636,260 members (73,330 online)
Rate this: bad
good
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 asp.net 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
{position:relative;
 display:block;
 height:42px;
 font-size:12px;
 font-weight:bold;
 width:50%;
 background-color:#EFCC00;
font-family:Arial,Verdana,Helvitica,sans-serif;
top:0px;
left: 520px;
width:570px;
}
 
.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;
                       
 -moz-border-radius:20px;}
 
.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>
 
   <div class="green">
   <div id="slatenav">
   <ul>
    <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>
 
                  
   </ul>
   </div>
   </div>
   </div>


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 28-Oct-12 23:45pm

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

  Print Answers RSS
0 jyo.net 295
1 Sergey Alexandrovich Kryukov 275
2 OriginalGriff 233
3 Suvendu Shekhar Giri 225
4 stibee 215
0 OriginalGriff 8,941
1 Sergey Alexandrovich Kryukov 8,459
2 Mika Wendelius 6,849
3 F-ES Sitecore 2,364
4 Suvendu Shekhar Giri 2,320


Advertise | Privacy | Mobile
Web01 | 2.8.150728.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