Problem formatting dynamic text

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default Problem formatting dynamic text

    I'm using ASP (VB) to display copy from a Microsoft Access DB. My problem is
    that the copy loses it formatting and all runs together. I've tried using PRE
    tags, but I often get very long line strings which won't wrap to fit my page
    layout even though the text is in a table cell or layer. Putting HTML into the
    text while creating the copy won't work since the copy is used to create non
    web reports. I know I'm not the first to run into this problem, so if anyone
    can tell me what I can do either in the DB, style sheet or server behaviors to
    correct, I will be most thankfu

    tigerstrikes Guest

  2. Similar Questions and Discussions

    1. Problem Character % in Dynamic Text
      Hi folks, I'm using a MySQL database to load text into Flash, it works perfect even when characters like ????? since System.useCodepage = true;...
    2. Dynamic text Formatting
      Hey guys, I'm linking some text through XML to dynamic text boxes and I need to know if there's any way (other than directly editing the font) to...
    3. problem with dynamic text :-(
      well, I got it to scroll and all I want to do now is use a font that people won't have. I know you can link a font to dynamic text, i've tried but i...
    4. problem when loading dynamic text
      Problems, problems, problems! I have a mainstage with a mask. Underneath the mask there is movie that moves. In that underlying movie there is...
    5. strange problem with dynamic text
      Why don't you simply write Scott Hathaway without the +? Should work just the same. If you do like to play round with variables froma text file...
  3. #2

    Default Problem formatting dynamic text

    I'm using ASP (VB) to display copy from a Microsoft Access DB. My problem is
    that the copy loses it formatting and all runs together. I've tried using PRE
    tags, but I often get very long line strings which won't wrap to fit my page
    layout even though the text is in a table cell or layer. Putting HTML into the
    text while creating the copy won't work since the copy is used to create non
    web reports. I know I'm not the first to run into this problem, so if anyone
    can tell me what I can do either in the DB, style sheet or server behaviors to
    correct, I will be most thankfu

    tigerstrikes Guest

  4. #3

    Default Problem formatting dynamic text

    I'm using ASP (VB) to display copy from a Microsoft Access DB. My problem is
    that the copy loses it formatting and all runs together. I've tried using PRE
    tags, but I often get very long line strings which won't wrap to fit my page
    layout even though the text is in a table cell or layer. Putting HTML into the
    text while creating the copy won't work since the copy is used to create non
    web reports. I know I'm not the first to run into this problem, so if anyone
    can tell me what I can do either in the DB, style sheet or server behaviors to
    correct, I will be most thankfu

    tigerstrikes Guest

  5. #4

    Default Re: Problem formatting dynamic text

    Just put the formatting in when you're reading from the database and writing
    to the page. So, in the case of wanting linebreaks to happen properly, for
    example, just seach the string for linebreaks and replace them with <br />
    tags before writing it to the page.

    In PHP it looks like:

    $content=preg_replace('/(\r\n|\n|\r)/i', '<br />', $content);

    but I'm afraid I don't know ASP so I can't help you with the specific code.



    tigerstrikes wrote:
    > I'm using ASP (VB) to display copy from a Microsoft Access DB. My
    > problem is that the copy loses it formatting and all runs together.
    > I've tried using PRE tags, but I often get very long line strings
    > which won't wrap to fit my page layout even though the text is in a
    > table cell or layer. Putting HTML into the text while creating the
    > copy won't work since the copy is used to create non web reports.
    > I know I'm not the first to run into this problem, so if anyone can
    > tell me what I can do either in the DB, style sheet or server
    > behaviors to correct, I will be most thankfu

    rob :: digitalburn 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