Ver Mensaje Individual
  #8 (permalink)  
Antiguo 06/12/2011, 21:11
Avatar de jor_0203
jor_0203
 
Fecha de Ingreso: octubre-2011
Ubicación: mexico
Mensajes: 760
Antigüedad: 12 años, 6 meses
Puntos: 8
Respuesta: como puedo modificar la distancia list-style-image:url('sqpurple.gif')

Cita:
Iniciado por emprear Ver Mensaje
te tendría que funcionar con tan solo darle un padding-left

Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <title>titulo</title>
  5. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  6. <style type="text/css">
  7. ul {
  8. list-style-image: url('bullet_on.png');
  9. }
  10. ul li {
  11. padding-left: 150px;
  12. }
  13. </head>
  14. <ul>
  15. <li>Coffee</li>
  16. <li>Tea</li>
  17. <li>Coca Cola</li>
  18. </ul>
  19. </body>
  20. </html>

Estoy editando el post para comentarte, no tenes que poner magin-left sino padding-left

Saludos



si yo hago esto muevo todo y no separo entre bullet_on.png con el contenido del li