Re: Text in a textbox

From: S. Justin Gengo (sjgengo_at_aboutfortunate.com)
Date: 02/11/04


Date: Wed, 11 Feb 2004 14:02:43 -0600

Paul,

You'll have to set the text box to multi-line to get your two lines of text.

One way to get rid of the scroll bar would be to use cascading style sheets:

.TextBox {
    overflow: hidden
}

You could add this to your page's style *** and then assign ".TextBox" to
the CssStyle of the text box.

The choices you may assign to overflow are:

auto - If the content is clipped, the browser should display a scroll-bar to
see the rest of the content

hidden - The content is clipped, but the browser does not display a
scroll-bar to see the rest of the content

scroll - The content is clipped, but the browser displays a scroll-bar to
see the rest of the content

visible - The content is not clipped. It renders outside the element.

-- 
Sincerely,
S. Justin Gengo, MCP
Web Developer / Programmer
Free code library at:
www.aboutfortunate.com
"Out of chaos comes order."
                             Nietzche
"Paul P" <pphillips@rattanconsulting.com> wrote in message
news:eS97SWN8DHA.2404@TK2MSFTNGP12.phx.gbl...
> I tried the multiline option but it has the scroll bar on it and I don't
want to see the scroll bars.  If you know of a way to get rid of the scroll
bars, please let me know.
>
> **********************************************************************
> Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
> Comprehensive, categorised, searchable collection of links to ASP &
ASP.NET resources...