View Full Version : Text spilling out of <div>

02-13-2005, 08:18 PM
I've exported from excel a songlist consisting of a few hundred songs. I've taken the table formatted songlist and put it in my <div class="content"> box but when the browser window is too small the text spills out into my background looking quite nasty.

Does anyone know a quick tip to get the text to wrap when the div is smaller?


style: http://www.theprojectband.net/style.css



02-13-2005, 08:36 PM
Well, you are using a fixed-width table for the content, so when the layout (browser window) gets smaller the table doesn't change. To get it to work you have to change the widths to percentages.

Also, you might want to jump in there and clean up some of the code (wrapping all your attributes in quotes, adding a doctype, etc...) It's one of those things that not only makes your code "correct" but it will help when you debug your code later.

Hope this helps,


(hey, you're in Nashville, too! Rock on.)

02-13-2005, 08:40 PM
yea man... thanks for the help... sitting at cafe coco right now :D