...

View Full Version : Only vertical overflow



NeoMoon
02-23-2009, 11:47 PM
Here's the problem:

I'm trying to create a little 'chat box', and the actual content box is scrolling horizontally; which I don't want. I want the box to ONLY scroll for content vertically, and for the horizontal content to simply go to the next line when it reaches the end of the current line.

Any ideas?

Page: http://neo-moon.com/Chat.php

jcdevelopment
02-23-2009, 11:55 PM
try placing a <p> tag between the content and setting a width to it so it wont continue going to the right.


p {
width:480px;
padding:5px;
}


see if that helps!

Apostropartheid
02-24-2009, 12:01 AM
It will do that if you have a continuous stream of letters with no spaces. Try putting spaces in and see what happens.

NeoMoon
02-24-2009, 12:05 AM
Thank ya. :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum