40 users online (0 members and 40 guests)  


  Results 1 to 3 of 3

Related

  1. tables and text boxes    Forum: Website Scripts Forum
    Replies: 1
  2. Aligning Text in Tables    Forum: HTML Forum
    Replies: 5
  3. Replies: 2
  4. help with tables!    Forum: HTML Forum
    Replies: 2
  5. CSS Text & Links in Tables    Forum: CSS Forum
    Replies: 2
  1. #1
    Ojinfu's Avatar
    New User

    Status
    Offline
    Join Date
    Oct 2004
    Posts
    1

    TABLES- can any one help me stop the text streching the tables.

    The problem is when i set the value for the table and then add Text to it the text streches the table.

    This is the way i do it

    <*table><tr><td width="150">Alot of text</td></tr></table*> without the astricks

    However the text will not go to the end of the table
    and the restart underneth it will just keep going streching the table

    Any Help would be great. Thanks

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    It should wrap fine as long as the text isn't one long word. Does it have spaces in the text?

    Don't worry about putting * in your tags, the forum will still display the html instead of a table. In fact, you can make it neater by surrounding your code with the 'code' vBcode tag, see here: http://www.ahfb2000.com/webmaster_help_desk/misc.php?do=bbcode#code

    Do you have an example of the stretching table online somewhere? It might be something in the rest of your code thats causing it.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  3. #3
    fawh's Avatar
    New User

    Status
    Offline
    Join Date
    Oct 2004
    Posts
    8
    Quote Originally Posted by QuietDean
    It should wrap fine as long as the text isn't one long word.

    Yes. If you have one long word causing the problem, try using a hyphen " - ". Or, you could try reducing the font size.



Tags for this Thread