Jago6060 Posted June 12, 2008 Share Posted June 12, 2008 I'm having trouble getting words to wrap in a div. Here's the code for the div. #text { height: 512px; width:625px; background: url(images/main_tile.png) repeat scroll top left; border: solid #7800AD; position: absolute; left: 10px; top: 220px; padding-left: 5px; padding-top: 17px; padding-right: 5px; padding-bottom: 5px; font-family: Tahoma; font-size: 12px; z-index: 1; overflow: auto; } I've tried the white-space element and that didn't work. Any help would be great. Quote Link to comment https://forums.phpfreaks.com/topic/109827-word-wrap-problems/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.