Minimeallolla Posted November 24, 2010 Share Posted November 24, 2010 http://www.mysite.giacjr.dino-hosting.net/ see for yourself but you have to register and log in to see the comments. if you do i think more than 36 characters without spacing it overflows out of the box and is chat lol how do i fix that? Quote Link to comment https://forums.phpfreaks.com/topic/219671-problem-with-css-character-limit-border-thing-idk-help/ Share on other sites More sharing options...
haku Posted November 24, 2010 Share Posted November 24, 2010 The easiest thing is to not type 36 character words. Quote Link to comment https://forums.phpfreaks.com/topic/219671-problem-with-css-character-limit-border-thing-idk-help/#findComment-1138914 Share on other sites More sharing options...
Minimeallolla Posted November 25, 2010 Author Share Posted November 25, 2010 yes but others can. its got a 150 character limit but if someone wants to spam they can make it look untidy haha ): Quote Link to comment https://forums.phpfreaks.com/topic/219671-problem-with-css-character-limit-border-thing-idk-help/#findComment-1139225 Share on other sites More sharing options...
haku Posted November 25, 2010 Share Posted November 25, 2010 I think you are going to find not many people are going to do this, after all, there aren't many 36 character words out there (in English at least). And spammers are using specific keywords themselves. Anyways, if you really want to do this, you will need some sort of serverside language. I don't believe it's possible through CSS alone. Quote Link to comment https://forums.phpfreaks.com/topic/219671-problem-with-css-character-limit-border-thing-idk-help/#findComment-1139259 Share on other sites More sharing options...
Minimeallolla Posted November 25, 2010 Author Share Posted November 25, 2010 what about if i did something like <text area>? i want to do that with my css table/border/box thing Quote Link to comment https://forums.phpfreaks.com/topic/219671-problem-with-css-character-limit-border-thing-idk-help/#findComment-1139348 Share on other sites More sharing options...
Pikachu2000 Posted November 25, 2010 Share Posted November 25, 2010 wordwrap()[/code] may be what you need. $long_string = 'ThisIsAnUnusuallyLongStringOfWordsThatIsThrownTogether.'; echo wordwrap( $long_string, 35, "<br>\n", true); Returns: ThisIsAnUnusuallyLongStringOfWordsT hatIsThrownTogether. Quote Link to comment https://forums.phpfreaks.com/topic/219671-problem-with-css-character-limit-border-thing-idk-help/#findComment-1139360 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.