Menu Generation in CSS

Posted by Santosh4u under CSS 3 category on | Views : 2580
Code to create menu in ASP.NET Using CSS

<html xmlns="" >
<head runat="server">
<title>JS Menu Jeneration</title>

<style type="text/css">

border: 3px solid black;
width: 170px;
background-color: pink;

#coolmenu a{
font: bold 13px Verdana;
padding: 2px;
padding-left: 4px;
display: block;
width: 100%;
color: white;
text-decoration: none;
border-bottom: 1px solid black;

html>body #coolmenu a{ /*Non IE lule*/
width: auto;

#coolmenu a:hover{background-color:cyan;
color: black


<div id="coolmenu">
<a href="">Search Engine</a>
<a href="">Create Mail</a>
<a href="">Post Article</a>
<a href="">Coding</a>
<a href="">Code</a>


Comments or Responses

Login to post response