Ver Mensaje Individual
  #2 (permalink)  
Antiguo 12/08/2004, 04:06
Avatar de PatomaS
PatomaS
Colaborador
 
Fecha de Ingreso: marzo-2004
Ubicación: En alguna otra parte
Mensajes: 4.656
Antigüedad: 20 años, 1 mes
Puntos: 63
Hola

Aquí te paso una sencilla página de ejemplo de lo que quieres, sin embargo, no funciona en todos los navegadores.

Código:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
/* No funciona en explorer ni en opera */
option {
	text-align: right;
}
</style>
<title>Alinear los option de un select</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>

<body>
<form id="formulario" action="">
<p>
	<select>
		<option id="valor_1">valor 1</option>
		<option id="valor_2">valor 2</option>
		<option id="valor_3">valor 3</option>
	</select>
</p>
</form>
</body>
</html>
Funciona:
- Netscape 7.0
- Firefox 0.8
- Firefox 0.9
- Firebird 0.7

No funciona:
- Netscape 4.xx
- Explorer
- Opera 7.23

A lo mejor alguien soluciona este detalle

;)

Felicidad
__________________
¡ hey, hou, hou, hey !