News

Log In Sponsors
Partner Sites
Authentic brands. womens handbags Cheap and real.

International calling? Check out prepaid calling card

call abroad? prepaid calling card at PhoneCardsAvenues.com


One column centered but text overflow



hello I am trying to do a simple one column page with three divs all same width under each other But if I put in more text into the 'content' div, it overflows onto the right space and is not contained within the div what am i doing wrong ? here is the code <!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> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>alo consulting</title> <style type="text/css"> * { padding: 0; margin: 0;} body { font-family: arial, sans-serif; font-size: 1.0em; color: #00ffaa; background: #00f0f2; } #wrapper { margin: 0 auto; width: 800px; background: #ffffff url(images/bg.gif); background-repeat-y; } #phone { width: 800px; padding: 10px; height: 100px; margin: 0px 0px 0px 0px; background: #a3a3a3; } #logo { width:800px; padding: 10px; height: 200px; margin: 0px 0px 0px 0px; background: #aabbff; } #content { width: 800px; padding: 10px; height: 350px; margin: 0px 0px 0px 0px; background: #224455; } </style> </head> <body> <div id="wrapper"> <div id="phone"> p 9511 1111 | m 0418 111 111 | f 1113 1111 </div> <div id="logo">some stuff goes here as well as logo </div> <div id="content"> service.support.solutions.service.support.solutions.service.support.solutions.service.support.solutions. </div> </body> </html> any help would be received with thanks A

Click here to read the whole forum topic






cron