Tuesday, January 5, 2010

A simple Dropdown menu using only CSS




Here is a dropdown menu using only css.It has issues with the internet explorer. It needs to be modified but you can get the basic idea.
You can get the code here CLICK to Download


The most important part of the css code is:
 
.navigator ul li ul{
display:none;
}
or you can  use
.navigator ul li ul{ 
visibility:hidden;

}
 Then for  hovering

.navigator ul li:hover ul{
display:block;
}

or
.navigator ul li:hover ul{
visibility:visible;
}


No comments:

Post a Comment

About Me

Web Developer From Dhaka, Bangladesh.