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 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Mar 2008
    Posts
    265
    Tokens
    0

    Default Coding Help (content boxes)

    Can some one please help me with coding my content box this is the code:
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    <link href="file:///C|/Documents and Settings/Administrator/Desktop/beddau site/beddau rfc/content.css" rel="stylesheet" type="text/css" />
    </head>
    
    <body>
    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="18"><img src="file:///C|/Documents and Settings/Administrator/Desktop/beddau site/beddau rfc/images/top.jpg" width="768" height="4" /></td>
      </tr>
      <tr>
        <td width="768" height="140" nowrap="nowrap" background="file:///C|/Documents and Settings/Administrator/Desktop/beddau site/beddau rfc/images/mid.jpg"><pre>&nbsp;</pre></td>
      </tr>
      <tr>
        <td><img src="file:///C|/Documents and Settings/Administrator/Desktop/beddau site/beddau rfc/images/bottom.jpg" width="768" height="9" /></td>
      </tr>
    </table>
    </body>
    </html>
    And this is the problem and i dont know how to keep it so it will just go on to the next line?
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Help.GIF 
Views:	71 
Size:	10.5 KB 
ID:	20332  

  2. #2
    Join Date
    Nov 2007
    Location
    London
    Posts
    1,577
    Tokens
    36

    Latest Awards:

    Default

    It won't be across the whole page, from what I know, you can't make a table have a width of 100% and go onto a new line automatically when enough text is added. You could just use <br> when you get to the end, but that would be a bit stupid. This will work but doesn't expand to the WHOLE of the page, but most of it (you can edit the amount of pixels it expands to):

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    <link href="file:///C|/Documents and Settings/Administrator/Desktop/beddau site/beddau rfc/content.css" rel="stylesheet" type="text/css" />
    </head>
    
    <body>
    <table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="18"><img src="file:///C|/Documents and Settings/Administrator/Desktop/beddau site/beddau rfc/images/top.jpg" width="768" height="4" /></td>
      </tr>
      <tr>
        <td width="768" height="140" nowrap="nowrap" background="file:///C|/Documents and Settings/Administrator/Desktop/beddau site/beddau rfc/images/mid.jpg"><pre>&nbsp;</pre></td>
      </tr>
      <tr>
        <td><img src="file:///C|/Documents and Settings/Administrator/Desktop/beddau site/beddau rfc/images/bottom.jpg" width="768" height="9" /></td>
      </tr>
    </table>
    </body>
    </html>
    Kind Regards,

    Guy
    __________________

    Since 2007. Unbelievable Uptime. Web hosting, resellers, master resellers, linux VPS, windows VPS, shoutcasts, at the lowest prices on the net.
    Tech-Hosts.co.uk.


  3. #3
    Join Date
    Feb 2008
    Location
    Plymouth
    Posts
    346
    Tokens
    0

    Default

    Yeah just use <br> rofl
    I am Bojangles =]




  4. #4
    Join Date
    Jan 2007
    Location
    Canada eh?
    Posts
    766
    Tokens
    75

    Default

    Haha, it's so ironic that this thread has just popped up right now... last night I was reminiscing of how the same thing happened to me and what an easy fix it was. Anyway, to fix your problem try using some real words instead of just a no-space line of 'f'. If you have spaces between your words it will auto-wrap the text. For testing purposes you can use the link below to generate random text for you.

    http://www.lipsum.com/

    Hope that helps

  5. #5
    Join Date
    Sep 2006
    Location
    Evanston, Illinois.
    Posts
    2,361
    Tokens
    0

    Latest Awards:

    Default

    Scriptz, how do I make it new line w/o spaces automatically eg http://www.example.com/x/x.php to

    http://www
    .example.co
    m/x/x.php and have it all link to where it goes?
    How could this hapen to meeeeeeeeeeeeeee?lol.

  6. #6
    Join Date
    Jan 2007
    Location
    Canada eh?
    Posts
    766
    Tokens
    75

    Default

    Quote Originally Posted by Reconix View Post
    Scriptz, how do I make it new line w/o spaces automatically eg http://www.example.com/x/x.php to

    http://www
    .example.co
    m/x/x.php and have it all link to where it goes?
    I'm not really sure what you mean... I'm assuming that you're talking about having a link span multiple lines without 'breaking' right? If so I'm not really 100% sure and to be perfectly honest I don't see any real need to do this?

    Just my thinking.... try Googling "Multi Line HTML Links".

  7. #7
    RedCrisps Guest

    Default

    Quote Originally Posted by rawritsluke View Post
    Yeah just use <br> rofl
    *<br />
    =]

  8. #8
    Join Date
    Mar 2008
    Posts
    265
    Tokens
    0

    Default

    Thanks for the help but it is not help by doing <br /> it just expands the table does anyone just know a simple code for it to going on to the next line?

  9. #9
    Join Date
    Oct 2005
    Location
    Corby
    Posts
    5,512
    Tokens
    2,675
    Habbo
    cabbage (origins)

    Latest Awards:

    Default

    </p> (longer_
    no

  10. #10
    Join Date
    Jul 2005
    Location
    Belgium
    Posts
    2,492
    Tokens
    147

    Latest Awards:

    Default

    That's a simple but common mistake

    instead of doing:
    ffffffffffffffffffffffffffffffffffffffffffffffffff fffffffffffffffffffffffffffffffffff

    Do something like:
    ffffffff f f fffffffffffff fff ffffffffffff ff ffffffffffff ffffffffff fff


    And it will automaticly be fixed (if you set a certain width).

Page 1 of 2 12 LastLast

Posting Permissions

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