Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
wiredsc #1
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
-
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... -
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"... -
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... -
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 |... -
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,... -
orange22 #2
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



Reply With Quote

