English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

...

i don't want a table code. just a text box.

2007-03-22 04:40:58 · 3 answers · asked by zbam91 3 in Computers & Internet Programming & Design

3 answers

A *text area* (which I believe is what you're referring to...multi-line text box) will scroll based upon the amount of content in it. This is a browser-level function, and does not have anything to do with code.

You can remove the scrollbars from a text area by adding an attribute to the textarea tag like so:



wrap="virtual" or wrap="physical" will show up without the scroll arrows, but you can still click and drag across the text to access any "overflow" text. I'm not sure if this is what you are asking.

Alternately, you could try using an iframe (inline frame). This lets you specify a frame within a page that acts as an inline element, similar to placing a picture. You can turn scrolling on or off, or put it on auto. Since an iframe refers to another page.

An example use of iframes can be found here:

http://www.k10k.net/

The scrolling newsfeed on the left is an iframe (and actually contains a separate html page). It is possible to easily turn off scrollbars, though.

You can get the code and different attributes for an iframe here:

http://www.w3.org/TR/html401/present/frames.html#h-16.5

Support is good for the iframe, except in really old browsers.

Hope this helps!

2007-03-22 06:53:06 · answer #1 · answered by jmboehman 2 · 0 0

HTML? ASP? C++? VB?

here's a basic HTML box

2007-03-22 05:25:52 · answer #2 · answered by rod 6 · 0 0

listbox

2007-03-22 04:47:37 · answer #3 · answered by abd 5 · 0 0

fedest.com, questions and answers