[thelist] XHTML Transitional: wrap="virtual" not allowed - a solution

Sharon F. Malone sfmalo at 24caratdesign.com
Tue Oct 29 18:14:00 CST 2002


Thanks, Jeff. I'll try that out and experiment with width/height properties when specifying overflow: auto in the CSS. Will let you know.

Sharon

On Tuesday, October 29, 2002 11:14 AM, jeff wrote:

> > Jeff, can I do this inline as in <textarea
> > name="message" rows="8" cols="30" id="message"
> > style="overflow:auto"></textarea> (or would that mess
> > up NN4.x)?
> >
> > Or, would it be better to do this in my remote CSS file?
>
> it would definitely be better in the css file.  i'd do something like this:
>
> textarea {
>   overflow: auto;
> }
>
> this has the advantage of applying this wrapping to all your textareas
> resulting in consistency on your site.
>
> > What would you suggest for height/width? Does that mean
> > I need to remove rows="8" and cols="30" ?
>
> i'd definitely leave rows and cols in there for non-css browsers.  test it
> and see if you need to specify the height and width for the overflow to
> work.
---------------------------------------------------------------------------
Sharon F. Malone
"web design and Internet writing services"
http://www.24caratdesign.com
sfmalo at 24caratdesign.com




More information about the thelist mailing list