Wrapping Dynamic Text

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Wrapping Dynamic Text

    I am have created a message board using PHP MySQL, Tables, Cells, and
    Dreamweaver's Repeat Region Function and I would like the message text to wrap
    if it gets to long, instead of streching the table. How can I do this without
    using a Textarea. Thank You.

    Clukey Guest

  2. Similar Questions and Discussions

    1. Wrapping text around images
      This is probably a very basic question, but I cannot figure out to wrap the text on my webpage around some images that I imported. I placed the...
    2. Wrapping Text
      How do you get text to wrap around images in Contribute draft pages? I don't see the option...or is this something that has to be done in...
    3. wrapping text along a curve
      I currently have a company logo (text) and now the comes the dilema that I need the text to follow a curve. Is there a way to grab my current logo...
    4. Combo Box - Wrapping Text
      Hello all, I am having an issue that needs to be resolved, very quickly. I am dynamcially loading elements into a Combo Box and some of the...
    5. Text wrapping nightmare (FH MXa now)
      Oh dear, when will IT EVER END! Why can't FH wrap text? I'm using FH MXa, but FH8, 9, 10 and 11 all did the same things, namely either causing...
  3. #2

    Default Re: Wrapping Dynamic Text

    > I am have created a message board using PHP MySQL, Tables, Cells, and
    > Dreamweaver's Repeat Region Function and I would like the message text to
    wrap
    > if it gets to long, instead of streching the table. How can I do this
    without
    > using a Textarea.
    Just give the TD a width.

    -Darrel


    darrel Guest

  4. #3

    Default Re: Wrapping Dynamic Text

    It has a width. Here's the code so you can see what I did. Thanks.



    <?php require_once('../Connections/mess.php'); ?>
    <?php
    mysql_select_db($database_mess, $mess);
    $query_Recordset1 = "SELECT * FROM Test";
    $Recordset1 = mysql_query($query_Recordset1, $mess) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    ?>
    <html>
    <head>
    <title>Reading a Message Board</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <link href="../styles.css" rel="stylesheet" type="text/css">
    </head>

    <body>
    <?php do { ?>
    <table width="1020" border="0" cellpadding="0" cellspacing="0">
    <!--DWLayoutTable-->
    <tr>
    <td width="1020" height="66" valign="top"
    style="padding-top:5px;padding-left:5px">Name: <?php echo
    $row_Recordset1['name']; ?><br>
    Relation: <?php echo $row_Recordset1['relation']; ?><br>
    Message:<br> <?php echo $row_Recordset1['msg']; ?> <br>
    <span class="txt1"></span> <hr>
    </td>
    </tr>
    </table>
    <?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>
    </body>
    </html>
    <?php
    mysql_free_result($Recordset1);
    ?>

    Clukey Guest

  5. #4

    Default Re: Wrapping Dynamic Text

    > It has a width. Here's the code so you can see what I did. Thanks.
    Do you have a link to the page itself?

    -Darrel


    darrel Guest

  6. #5

    Default Re: Wrapping Dynamic Text

    Hey, I figured it out, I was using one 1,000 character word to test it, and when I broke it up into normal sized words it wrapped like it's supposed to. Thanks for your help.
    Clukey Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139