Jump to content

Problem with css character limit border thing idk help.


Recommended Posts

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?

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.

wordwrap()[/code] may be what you need.

 

$long_string = 'ThisIsAnUnusuallyLongStringOfWordsThatIsThrownTogether.';
echo wordwrap( $long_string, 35, "<br>\n", true);

 

Returns:

ThisIsAnUnusuallyLongStringOfWordsT

hatIsThrownTogether.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.