Click to See Complete Forum and Search --> : Text going over my div


BOB101
02-15-2006, 08:41 PM
When I type in text in my div it goes beyond it's borders and goes into the background. How do I fix this.

See it for yourself (http://www.1.zipzapgaming.com)

csramin
02-16-2006, 12:03 PM
I am very new to css (two days), but I also ran into this problem. I found that once you add some spaces it will break the text into different lines. You may run into some longer words overlaping still, but maybe if you adjust the padding on the right side it will fix this. Hope this helps.

WebJoel
02-16-2006, 12:51 PM
Itappearsthatbyusingonelongcontinuousstringofletters,thereisnoword-breaksinthedivyouneedto entersomeactualwordswithspacesbetweenthem,okay? :)

ray326
02-16-2006, 03:22 PM
Yea, try testing it with real text, ok? Gosh!

Neczy
02-16-2006, 03:56 PM
Fake Latin (http://www.4guysfromrolla.com/demos/latin.asp) works well.

ronalfy
02-16-2006, 04:09 PM
Stick in a overflow: hidden; into your DIV. It would be helpful if it were a fixed width also. That is, of course, if you don't want long text to show up. If you want the text to wrap, that is a different issue.

BOB101
02-16-2006, 07:28 PM
Neczy,

Thanks, that fake latin worked.

Neczy
02-16-2006, 07:51 PM
You're welcome- it's just filler text, but it works well.