Jump to content
Sign in to follow this  
Guest

Alinhar uma lista ao título

Recommended Posts

Guest

Olá

Queria saber como alinhar uma lista vertical à esquerda dentro de uma div que tenho também à esquerda com as seguintes caracteristicas:

CSS da div onde quero inserir:

#subMenu {

float: left;

height: 420px;

width: 140px;

margin-left: 40px;

}

CSS do titulo que está dentro da div também:

h1, h2, h3, h4, h5, h6 {

font-family: "Gotham Condensed", Helvetica, "Arial Narrow", sans-serif;

text-align: left;

color: #FFF;

padding-left: 10px;

margin-top: 0px;

}

CSS da lista:

#subMenu ul li {list-style:none;}

#subMenu ul li a:link, #subMenu ul li a:visited {

font-family: "Gotham Book", Helvetica, Arial, sans-serif;

font-size: 10px;

color: #FFF;

font-weight: normal;

text-align: left;

line-height: 15px;

float:left;

padding-left:inherit;

}

#subMenu ul li a:hover, #subMenu ul li a:active {

color:#FFF;

text-decoration:underline;

}

será que alguém me pode ajudar?

Desde já obrigada!

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
Sign in to follow this  

×
×
  • 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.