Comunidad de diseño web y desarrollo en internet online

Bajar list-style li

Citar            
MensajeEscrito el 17 Ene 2011 10:02 pm
Estoy haciendo una lista de red social para mi web los codigos que uso son los siguientes:

Código PHP :

/*prueba*/
#social-ul li
{
   list-style:none;
   float:left;
}

#social-ul li.facebook
{
   width:70px;
   height:50px;
   margin: 15px 0 0 -19px;
   list-style:none;
   text-align:center;
   line-height:22px;
}

#social-ul li.twitter
{
   width:70px;
   height:50px;
   margin: 0 0 0 0;
   padding:0 0 0 21px;
   list-style-image:url(images/divider-social.gif);
   text-align:center;
   line-height:22px;
}

#social-ul li.email
{
   width:70px;
   height:50px;
   margin: 0 0 0 0;
   padding:0 0 0 21px;
   list-style-image:url(images/divider-social.gif);
   text-align:center;
   line-height:22px;
}
/*fin prueba*/

El código HTML es:

Código HTML :

<div id="social-ul">
<li class="facebook"><a href="http://www.facebook.com/pages/PixelBit/101958143205266" target="_blank"><img src="css/images/icofacebook.jpg" width=\"32\" height=\"32\" border=\"0\"/> </a> <a href="http://www.facebook.com/pages/PixelBit/101958143205266" target="_blank"><h4>Facebook</h4></a></li><li class="twitter"><a href="http://twitter.com/twitPixelBit" target="_blank"><img src="css/images/icotwitter.jpg" width=\"32\" height=\"32\" border=\"0\"/></a><a href="http://twitter.com/twitPixelBit" target="_blank"><h4>Twitter</h4></a></li><li class="email"><a href="http://www.youtube.com/videoPixelBit" target="_blank"> <img src="css/images/iconewletter.jpg" width=\"32\" height=\"32\" border=\"0\"/> </a> <a href="http://www.youtube.com/videoPixelBit" target="_blank"><h4>Newsletter</h4></a></li>
</div>

El resultado es este:

Como ven el seleccionador de cada menu esta muy arriba quiero que se vea mas abajo.

Por miguelsirna

315 de clabLevel



Genero:Masculino  

Hacker & Programmer

firefox
Citar            
MensajeEscrito el 17 Ene 2011 11:44 pm
Porque no haces que la imagen divider-social.gif sea un background de los <li> pero pegado a derecha o izquierda.

Saludos.

Por J O S

712 de clabLevel

1 tutorial

Genero:Masculino  

Lima, Perú

chrome
Citar            
MensajeEscrito el 18 Ene 2011 07:09 am
Muchas gracias ya me funciono ;D

Por miguelsirna

315 de clabLevel



Genero:Masculino  

Hacker & Programmer

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.