width and height percentage
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title></title> <style type='text/css'> p { width: 100%; height: 100%; margin: 10px; padding: 10px; border: 1px solid black; background: lightgray; } </style> </head> <body> <p> It is not a bad idea to get in the habit of writing down one's thoughts. It saves one having to bother anyone else with them. - Isabel Colegate </p> </body> </html>