[thelist] XHTML Transitional: wrap="virtual" not allowed - NOT YET SOLVED
Sharon F. Malone
sfmalo at 24caratdesign.com
Sat Nov 2 17:00:01 CST 2002
On Tuesday, October 29, 2002 11:14 AM, Jeff advised:
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> > > 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
> work.
Hi Jeff:
I followed your suggestion and also added the width attribute, as follows:
textarea { overflow: auto ;
width: 230px ; } in my remote CSS file.
This worked just peachy in IE5.5 and N6.2 ~but~ NN4.7 didn't pick up on it and isn't wrapping the text.
Is this going to be a question of not validating if I have to put wrap="virtual" back in or is there a workaround? And I'm wondering about IE3&4 and older versions of Netscape as well.
Best,
Sharon
---------------------------------------------------------------------------
Sharon F. Malone
"web design and Internet writing services"
http://www.24caratdesign.com
sfmalo at 24caratdesign.com
More information about the thelist
mailing list