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

.jeff jeff at members.evolt.org
Tue Oct 29 13:12:01 CST 2002


> From: Sharon F. Malone
> > set overflow to auto (or scroll, but yuck) and you'll
> > get what you need.  you may also need to explicitly
> > set a height or width as well.
> 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


jeff at members.evolt.org

More information about the thelist mailing list