Forum Moderators: not2easy
#output{
background-color: #ccccc9;
border: #006595 groove 2px;
}
How to I make this div a definite size so it will just put anything that goes off the screen on the next line.
If you really wanted to, you might be able to use some JavaScript to examine all of your values and determine whether or not they will cause scrolling, then edit them with JavaScript to insert a break. It's not elegant, but you're not going to be able to solve this problem with CSS alone.
And no, this has nothing to do with PHP.
[edited by: Fotiman at 4:27 pm (utc) on July 17, 2008]