Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Styling a textarea

Status
Not open for further replies.

tanderso

IS-IT--Management
Aug 9, 2000
981
US
I'm having a problem in NS4+ where when I apply a style to a textarea, the text does not span the width of the textarea and it no longer scrolls. Go to and click on one of the streaming video stories to see what I mean. In IE4+ and NS6 it works as expected. Is there something I am missing to make it work correctly in NS4? It seems to apply most of the style elements correctly, but not the scroll and not the width of the text.
Sincerely,

Tom Anderson
CEO, Order amid Chaos, Inc.
 
The page that the movie is on (in the popup) crashes my browser. Cna you put an example of the code here? jared@aauser.com
 
Really, it crashed it? That's even more concerning than not scrolling. Did it give you an error message? Browsers aren't supposed to crash given bad code, they are supposed to return error messages.

Anyway, here's the code:
[tt]
<textarea style=&quot;position:absolute; left:132px; top:378px; width:320px; height:112px; background-color:#F7CD07; border:0; font: bold 8pt/10pt arial,helvetica;&quot; readonly>text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text </textarea>[/tt]
Sincerely,

Tom Anderson
CEO, Order amid Chaos, Inc.
 
make sure you have form tags, position it in a div, and I haven't beena ble to get the font to work in a form




as far as the crash - it just gives me one of those crazy memory error things jared@aauser.com
 
for me it's not crashing, but i don't no if it's not even worst : 312 -- Cannot connect to the server :-(
 
Uh oh.

Iza, does it give that error for the whole site, just the pop-up window, or just the video in the pop-up window?

Jared, what is the memory error? What browser and OS? Does it completely kill your whole browser, or just the pop-up window?

Does anyone have an answer to my original question? I tried putting form tags around it, and that made it even worse. In IE it looked fine, but in NS, a new smaller textarea box partially obscured the correct one. I tried using a div, but the div won't scroll in NS. I tried using overflow:scroll, but that didn't do anything in NS. Any other ideas?
Sincerely,

Tom Anderson
CEO, Order amid Chaos, Inc.
 
well, I just tried to go to it after starting a response and it closed tek-tips also. The error I got was:

The instruction at &quot;0x3553bdc1&quot; referenced memory at &quot;0x00000000&quot;. The memory could not be &quot;read&quot;.

in IE on Windows NT 4.0.

on NS4.7:

same error, but it pops up in an Active Movie Dialog.

still not sure about your original question, don't think theres an easy solution :(

jared@aauser.com
 
Tom,

IE 5 displays an error 'path not found' for the video. NS 4.76 runs correctly and has the <textarea> style problem your first post explains.

-pete
 
Hi,

I've been to with IE5.5 and NS4.76 both running under Win98. No problems with IE.
With NS, it's a different story: first, the page itself doesn't display properly as I get no scroll bars to view the whole page; then when I try to view a streaming clip, nothing happens (I get 'document done' in the status bar) and I get:
JavaScript Error: openwin is not defined.
as an error when I type javascript: in the address bar.

P.S.: did you look at your page at 1024x768? I would suggest that you at least center the table that contains the page.

Bye.
Un fromage havarti en vaut deux.
 
yahve, thanks for trying. It sounds like the page did not load entirely for you in NS. openwin is certainly defined, as you can clearly see if you view source.

Yes, I know it is left justified. That is how they want it. I did have it centered and all I got were complaints. That design is changing anyway... it'll still be left justified, but at least it will be built for 800x600.

Jeez, I've tested the site on several versions of IE and NS for Win95, Win98, NT4, 2000, Me, MacOS, and Linux. And the only error I get is the &quot;path not found&quot; on some versions of IE. But you can get around that by clicking on the &quot;choose your bandwidth&quot; links. I haven't gotten any of these memory errors, server not found errors, missing scrollbars, or JS syntax errors. I'm just hoping that you guys all have incredibly buggy machines :) If anyone has a fix for any of those problems, please speak up.

Also, I'm still looking for a solution to my original question. Please dig in.
Sincerely,

Tom Anderson
CEO, Order amid Chaos, Inc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top