Tema: Select
Ver Mensaje Individual
  #1 (permalink)  
Antiguo 09/10/2012, 09:54
wayward
(Desactivado)
 
Fecha de Ingreso: enero-2004
Mensajes: 136
Antigüedad: 20 años, 3 meses
Puntos: 0
Select

Hola.

Este en un simple codigo de ejemplo con el que estoy trabajando. s un SELECT.

Se ve perfecto en Chrome e IE, sin mbargo en Firefox, el texto aparece pegado a la parte de arroba.

Alguna solucion para centrarlo, sin usar Padding?


Un saludo.
Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  4. <title>Untitled Document</title>
  5. </head>
  6.  
  7. .styled-select select {
  8.    background: transparent;
  9.    width: 268px;
  10.    padding: 5px;
  11.    font-size: 16px;
  12.    border: 1px solid #ccc;
  13.    height: 75px;
  14. }
  15.  
  16.  
  17.  
  18. <div class="styled-select">
  19. <option>Here is the first option</option>
  20. <option>The second option</option>
  21. </div>
  22.  
  23. </body>
  24. </html>