Guest Posted October 19, 2011 Report Share Posted October 19, 2011 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! Link to post Share on other sites
Ted k 1 Posted October 22, 2011 Report Share Posted October 22, 2011 Coloca float: left em tudo e os tamanhos certos de cada elemento! Acesse o site da AgênciaOFF: http://agenciaoff.comMeu portfólio: http://tedk.com.brMeu Blog: http://tedk.com.br/blog Link to post Share on other sites
Guest Posted October 24, 2011 Report Share Posted October 24, 2011 Obrigada! Já consegui! Link to post Share on other sites
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now