textarea displaying dynamic text

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

  1. #1

    Default textarea displaying dynamic text

    I am learning Dreamweaver after predominantly being a Flash designer for the
    last few months and I am getting rather sick of this problem that I can seem to
    get around:

    I have layed out all my pages, I have added in each, text areas so I can add
    the latest news or information etc. All I want to do is load html from an
    external file (.txt/.php) into these textareas so that bits of the text are
    bold or a different colour etc, now I have tried 3 methods.

    1. I have tried 'include server-side', the text displays perfectly in the
    dreamweaver window but when previewed in any of my browsers, all I get
    displayed is '<-----include server-side.........'.

    2. I have eradicated the textarea idea and added this script:
    <div style="background-color:#4C3A27; font-size: 11px; color: #FFFFFF;
    border-style:solid none solid none; border-color:#FFFFFF; border-width:thin;
    padding:0.5em 0.5em 0.5em 0.5em; font-family: Arial; overflow:scroll;
    overflow-x:hidden; width:100px; height:100px;">
    <pre style="white-space: -moz-pre-wrap;white-space: -pre-wrap;white-space:
    -o-pre-wrap;white-space: pre-wrap;word-wrap: break-word;">all my html
    text</pre></div>
    This works relatively better, only problems are that netscape doesn't
    recognise the 'overflow-x:hidden' part of the css so i end up with a big white
    rectangle at the bottom of the textfield, also the border doesn't display as I
    want. But the main problem is that Dreamweaver has decided it doesn't want to
    recognise the width and height measurements in the css and so fills my page
    with all my text and borders which knackers up my whole page layout.

    3. I decided to forget about externally loading text and include the html
    through dreamweaver but alas, textareas don't read html so I just get it all
    thrown out as script.

    This is driving me crazy, this should be so simple, any suggestions?

    wiredsc Guest

  2. Similar Questions and Discussions

    1. Problems with displaying dynamic Arabic text
      We have a problem with a navigation system we are building which has to be able to display dynamic Arabic text. We are pulling in the Arabic text...
    2. Using an ArrayCollection as my text for a TextArea
      I have a text area that receives an ArrayCollection as it's text something like this: <mx:TextArea borderSides="0" horizontalScrollPolicy="off"...
    3. Displaying Text From External File in TextArea
      I'm trying to display text from a local external file in a Flex TextArea. I can get the file reference OK, but can't figure out where to go from...
    4. Please help. dreamweaver not displaying dynamic text
      richabrown wrote: It probably isn't random. Which specific extensions seem to cause this problem for you? -- Enjoy, Danilo Celic |...
    5. Text selections in new TextArea component
      I have spent hours trying to do something with the new MX 2004 Flash TextArea component that is trivial in the native Flash Text Field: namely,...
  3. #2

    Default Re: textarea displaying dynamic text

    Try the ktml editor which replaces a text area. You can get it from [url]www.interaktonline.com[/url]
    orange22 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