View Full Version : Divs that doesn't change size?


anime4eva
05-26-2006, 02:15 AM
Is there a way to make it so that divs don't change is size, width-wise. So if you type something really long without breaking it wont make the div really big. I also don't want it to have scroll bars, I want it to just increase size in height but not width. Is this possible?

Thanks! :)

J to the izzosh
05-26-2006, 02:30 AM
Just specify a width and not a height:


<div style="width:400px">
<!-- Stuff -->
</div>