Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: Er.. Help :S

  1. #11
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    You could implement some PHP like wordwrap() so it adds a '\n' after a specified amount of characters and then do nl2br() so the '\n's are converted to '<br />'

  2. #12
    Join Date
    May 2006
    Posts
    1,797
    Tokens
    0

    Latest Awards:

    Default

    Oooh. Il try that

    Need to figure out amount of chars first though..

    And i nl2br on output
    Coming and going...
    Highers are getting the better of me

  3. #13
    Join Date
    Dec 2006
    Posts
    7,601
    Tokens
    95

    Latest Awards:

    Default

    first click the table width and then select no wrap,

    at the right of properties window, click the arrow pointing down if you dont see it

    thats hjow i do it anyway

  4. #14
    Join Date
    May 2006
    Posts
    1,797
    Tokens
    0

    Latest Awards:

    Default

    simon, is it only 2 parameters i need?

    eg.
    PHP Code:
    $message wordwrap($message,"30"); 
    Coming and going...
    Highers are getting the better of me

  5. #15
    Join Date
    May 2006
    Posts
    1,797
    Tokens
    0

    Latest Awards:

    Default

    Ohhh see it now

    And its alredy unchecked :S
    Coming and going...
    Highers are getting the better of me

  6. #16
    Join Date
    Dec 2006
    Posts
    7,601
    Tokens
    95

    Latest Awards:

    Default

    have you clicked the correct table width and it migth just be something else then, try wordwrap

  7. #17
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    Wordwrap was a quick workaround I thought I'd let you know about

    I never really use it. It's best to try and make it work using just xhtml.

  8. #18
    Join Date
    May 2006
    Posts
    1,797
    Tokens
    0

    Latest Awards:

    Default

    yeh, il use it as my last resort

    But it is just the two parameters i need isnt it?

    And yes im sure i clicked right table :S
    Coming and going...
    Highers are getting the better of me

  9. #19
    Join Date
    May 2006
    Posts
    1,797
    Tokens
    0

    Latest Awards:

    Default

    Cant edit --

    Ive managed to do it using a table so no need for word wrap Thanks anyways.
    Coming and going...
    Highers are getting the better of me

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •