skaterdav85 Posted December 21, 2009 Share Posted December 21, 2009 I have a div, and some of its contents are flowing out of the div even though I have assigned it a fixed width. Then again, this is in Wordpress so maybe something funny is going on with the other style sheets. Anyways, is there some kind of word wrap property? Someone told me there was such a property but I cannot find anything about it. Maybe its called something else? Link to comment Share on other sites More sharing options...
jeffman Posted December 22, 2009 Share Posted December 22, 2009 It's not an easy one to find. There is no word-wrap property. Instead, there is a nowrap value for the white-space property. It does what I think you want:http://www.w3schools.com/CSS/pr_text_white-space.aspYou may want to use this with overflow:hidden Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.