<html>
<head>
<style>
html,
body {
font-family: Bell MT, Arial, Helvetica, sans-serif; font-size:15px;font-weight:bold; background-color:#6d6767;text-align: center;
}
/* define a fixed width for the entire menu */
.navigation {
width: 100%;
}
/* reset our lists to remove bullet points and padding */
.mainmenu,
.submenu {
list-style: none;
padding: 0;
margin: 0;
}
/* make ALL links (main and submenu) have padding and background color */
.mainmenu a {
display: block;
background-color: #6d6767;
text-decoration: none;
padding: 0px;
color: #fff;
padding-left:30px;
padding-top:30px;
}
/* add hover behaviour */
.mainmenu a:hover {
background-color: #533c56;
}
/* when hovering over a .mainmenu item,
display the submenu inside it.
we're changing the submenu's max-height from 0 to 200px;
*/
.mainmenu li:hover .submenu {
display: block;
max-height: 180px;
}
/*
we now overwrite the background-color for .submenu links only.
CSS reads down the page, so code at the bottom will overwrite the code at the top.
*/
.submenu a {
background-color: #3b2c37;
font-weight: normal;
}
/* hover behaviour for links inside .submenu */
.submenu a:hover {
background-color: #5f0244;
font-weight: normal;
}
/* this is the initial state of all submenus.
we set it to max-height: 0, and hide the overflowed content.
*/
.submenu {
overflow: hidden;
max-height: 0;
-webkit-transition: all 0.5s ease-out;
font-weight: normal;
}
</style>
<embed>
</head>
<body>
<nav class="navigation">
<ul class="mainmenu">
<li><a href="http://www.ehiokoedion.com/product/shirt/">SHIRT</a></li>
<li><a href="#">BLAZER/JACKET</a></li>
<li><a href="#">ACCESSORIES</a>
<ul class="submenu" style="font-weight: normal; font-size:12px;">
</li>
<li><a href="#">LAPEL PIN</a></li>
<li><a href="#">CRAVAT/NECKTIE/BOW TIE</a></li>
<li><a href="http://www.ehiokoedion.com/product/shirt/">SUIT AND TUXEDO</a></li>
<li><a href="#">TROUSER</a></li>
<li><a href="">NATIVE</a></li>
</nav>
</body>
</html>
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code has now been damaged by the forum’s parser.]
This is my HTML and CSS code. I need help, actuall want to paste it asside bar.