View Full Version : Resolved Text going outside of DIV

01-11-2010, 08:51 PM
Hello, I'm working on a website and everything is working fine except the text in the body section doesn't seem to be breaking. I have never come across this issue before and I am looking for help.

The website can be seen here http://wadepressel.com/hoggers/

01-11-2010, 09:17 PM
The div inherits white-space:pre from div#body. If you need visible line breaks, change it to pre-wrap. Otherwise remove it.

01-11-2010, 09:18 PM
Your problem lies in the definition of .oneColFixCtr #body. In particular the white-space value. It's set to "pre" which won't place any line-breaks unless formatted in the static code. Simply change that to "normal" (or remove it altogether) to fix your problem.

If removing it breaks other parts of your site, then you can target the <p>s in particular with:

.oneColFixCtr #body p {
white-space: normal;

01-11-2010, 09:20 PM
Thank you. I love you all.