Text area scroll problems

B

Billy B

I am using Frontpage 2000 and I have inserted a text area control on the form
because I need to have a scroll bar available for the viewer. The vertical
scrollbar displays as it should in IE 6 but in Firefox the scrollbar is
horizontal. Is there a way to fix this?

Thank you
 
R

Ronx

The scroll bar in a text area is always vertical. Can you give a link
to the page or post the html here?
 
R

Ronx

FireFox will give a vertical scroll bar when the box fills vertically.
It will also only word wrap when there are spaces (or other white space)
in the text - if there are no spaces there will be a horizontal scroll
bar for words that exceed the width of the box.

FYI, the page contains 2 opening <form..> tags, and only 1 closing tag.

If the text area is only for display (rather than a means for users to
submit or copy text) then a <div> may suit your purposes better - but
this will also give a horizontal scroll bar if long text cannot wrap.

<div style="width: 500px;height: 120px;overflow:auto;margin:0
auto;padding:3px;border:black solid 1px;">
Text goes here
</div>

This will show horizontal and/or vertical scroll bars when needed, and
will be centred on the page.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.

http://www.rxs-enterprises.org/fp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top