Azu Posted April 2, 2007 Share Posted April 2, 2007 How do I fix my css so that if someone makes an extremelyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy long word it will wrap instead of going off the screen? Quote Link to comment https://forums.phpfreaks.com/topic/45248-solved-wrap-extremely-long-words/ Share on other sites More sharing options...
Daniel0 Posted April 2, 2007 Share Posted April 2, 2007 You can't. You'll have to rely on some sort of scripting to wrap it. For example if it is a forum post like here you could have PHP wrap long words for you. Quote Link to comment https://forums.phpfreaks.com/topic/45248-solved-wrap-extremely-long-words/#findComment-220137 Share on other sites More sharing options...
Azu Posted April 3, 2007 Author Share Posted April 3, 2007 Can you please tell me how to make it so that it makes the scroll thingy like on here if it is to long? That would be really really great! Quote Link to comment https://forums.phpfreaks.com/topic/45248-solved-wrap-extremely-long-words/#findComment-220455 Share on other sites More sharing options...
Daniel0 Posted April 3, 2007 Share Posted April 3, 2007 <div style='overflow: auto;'>long stuff here</div> It might need a width before it works. I can't remember. auto will only show the scrollbar if necessary, scroll will always show it. http://www.w3schools.com/css/pr_pos_overflow.asp Quote Link to comment https://forums.phpfreaks.com/topic/45248-solved-wrap-extremely-long-words/#findComment-220461 Share on other sites More sharing options...
Azu Posted April 3, 2007 Author Share Posted April 3, 2007 Thanks a ton! That worked great! Quote Link to comment https://forums.phpfreaks.com/topic/45248-solved-wrap-extremely-long-words/#findComment-220624 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.