Ver Mensaje Individual
  #8 (permalink)  
Antiguo 13/04/2010, 16:46
Avatar de DragonX
DragonX
Colaborador
 
Fecha de Ingreso: mayo-2002
Ubicación: Funkyland
Mensajes: 8.433
Antigüedad: 22 años
Puntos: 177
Respuesta: Crear un menu centrado con div y CSS

les dejo un lindo reset

Código CSS:
Ver original
  1. html, body, div, span, applet, object, iframe,
  2. h1, h2, h3, h4, h5, h6, p,
  3. blockquote, pre, a, abbr, acronym, address, big,
  4. cite, code, del, dfn, em, font, img,
  5. ins, kbd, q, s, samp, small, strike,
  6. strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li,
  7. fieldset, form, label, legend,
  8. table, caption, tbody, tfoot, thead, tr, th, td,
  9. center, u, b, i {margin: 0;padding: 0;border: 0;outline: 0;font-weight: normal;font-style: normal;font-size: 100%;font-family: inherit;}
  10. body {line-height: 1;}
  11. :focus {outline: 0;}
  12. ol, ul {list-style: none;}
  13. table {border-collapse: collapse;border-spacing: 0;}
  14. blockquote:before, blockquote:after, q:before, q:after {content: "";}
  15. blockquote, q {quotes: "" "";}
  16. input, textarea {margin: 0;padding: 0;}
  17. hr {margin: 0;padding: 0;border: 0;color: #000;background-color: #000;height: 1px;}

Simplemente copia y pega este código en tu CSS y listo, siempre arriba de todo, luego escribis tus sentencias

__________________
Desarrollos dosLotos
Calendario Maya, Meditación, Osho