Ver Mensaje Individual
  #2 (permalink)  
Antiguo 19/09/2007, 03:01
Avatar de PatomaS
PatomaS
Colaborador
 
Fecha de Ingreso: marzo-2004
Ubicación: En alguna otra parte
Mensajes: 4.656
Antigüedad: 20 años
Puntos: 63
Ejemplo: Aplicando padding a fieldset

Hola

Si es posible, puede que tengas algún problema con otras reglas.

Mira este ejemplo:

Código HTML:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es">
<head>
	<style type="text/css">
		* {border: 0; margin: 0; padding: 0;}
		html,body { width: 100%; height: 100%; background-color: #fff; }
		#Base { width: 100%; height: 100%; background-color: #ccc;}
		fieldset { border: 1px solid #f00; padding: 10px;}
	</style>
	<title>Pruebilla</title>
</head>
<body>
<div id="Base">
	<p>&nbsp;</p>
	<form id="formulario" method="post" action="">
		<fieldset>
			<p>texto</p>
		</fieldset>
	</form>
	<p>&nbsp;</p>
</div>
</body>
</html> 
Los colores y bordes son para que se vea más fácil lo que hice.

Felicidad
__________________
¡ hey, hou, hou, hey !