Jump to content
al41007

Dúvida - Criar itens de menus

Recommended Posts

al41007

Bom dia.

Estou a tentar criar um menu horizontal que ficará ao lado do icon do website, no meu _Layout.cshtml. Já tenho o seguinte código na minha css:

ul.nav-menu
{
list-style-type: none;
margin-left:205px;
margin-top:21px;
padding:0;
position: absolute;
}
ul.nav-menu li {
float: left;
}
ul.nav-menu li a {
text-align: center;
border-left:1px solid #e9e9e9;
padding:8px 13px;
display:block;
text-decoration:none;
color:#999;
font-weight:bold;
}
ul.nav-menu li a:hover,
ul.nav-menu li a.checked,
ul.nav-menu li:hover ul li a:hover,
ul.nav-menu li:hover ul li a.checked
{
color:Black;
background-repeat:repeat-x;
background-position:bottom;
}

Com este css sei que consigo criar diferentes botões/tabs para o meu menu mas como é que faço para um tab ter diversos itens?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.