Código :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Documento sin título</title> <style type="text/css"> <!-- body,td,th { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #333333; } body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } a:link { color: #3366CC; font-weight: bold; text-decoration: none; } a:visited { text-decoration: none; } a:hover { text-decoration: underline; color: #CC6600; } a:active { text-decoration: none; } .div01 { width: 700px; border: 1px dashed #996600; background-color: #EFEFEF; text-align: left; padding: 10px; } --> </style> </head> <body> <center> <div class="div01" id="cuadro01"> <p>Vamos aprendiendo. Vamos a ver que tal quedan los <a href="#" class="Estilo1">link</a> </p> <p>Cuando metes párrafos los espacios verticales se abren </p> </div> <p> </p> <div class="div01" id="cuadro02">Es como el de antes pero en este caso <br /> <br /> no utilizo párrafos sino saltos de línea. Aunque aparentemente queda bien, está claro que no es la manera. </div> </center> </body> </html>
Cuando estoy escribiendo dentro de un DIV y meto un salto de párrafo, aumenta el padding vertical. ¿Existe alguna manera de que no pase?
Gracias