|
| |
|
|
womble
Posts: 5702 Joined: 3/14/2005 From: Living on the edge Status: offline
|
Textarea wrapping problem in Firefox using xhtml strict - 7/22/2005 16:47:25
I actually posted this question as an aside in another post, but I thought it might fare better in a thread of it’s own, and although the other problem I was having, I don't think is a problem now, I can't work out what's happening with the textareas on my forms. I have a textarea on a form, and while it seems to work just fine in everything else, including IE, with text wrapping nicely onto the next line, a horizontal scrollbar appears and it just keeps going and going in FF – you can see the problem here (it only shows up in FF). I’m using xhtml strict, and of course the "wrap" attribute isn't part of the xhtml specification. When I first uploaded the page to the server, initially I forgot to upload the updated version of my css. Now I don’t know if it’s anything to do with the css, but before I uploaded the revised css, it did wrap properly. I’ve tried it again with the css for that particular form element taken out, but this time it didn’t make any difference. The (x)html for the textarea is: <dt><label for="eventdescription">Description:</label></dt>
<dd><textarea id="eventdescription" name="eventdescription" rows="5" cols="35" onkeypress="textCounter(this,this.form.counter,300);"></textarea></dd> And the css is: #eventdescription, #contact { width: 300px; } (I’ve also tried putting in: { white-space: no-wrap; } which BobbyDouglas also tried, and that made no difference either) Anyone any ideas what’s going on here, or does anyone know of any way to force wrapping in FF?
_____________________________
~~ "A cruel god ain't no god at all" ~~ ~~ Erase hate. Practice love. ~~
|
|
|
|
Tailslide
Posts: 6269 Joined: 5/10/2005 From: Out here on the raggedy edge Status: online
|
RE: Textarea wrapping problem in Firefox using xhtml st... - 7/22/2005 18:59:25
I wouldn't worry too much - it's only a problem if people are entering a single long long string of characters - normal text wraps with no problems.
_____________________________
"My strategy is so simple an idiot could have devised it" Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project
|
|
|
|
BobbyDouglas
Posts: 5470 Joined: 5/15/2003 From: Arizona Status: offline
|
RE: Textarea wrapping problem in Firefox using xhtml st... - 10/22/2005 4:39:57
That's still the problem, even the content on the link I posted doesn't work. The strings are not that long either.
_____________________________
Arizona Web Design - Mr Bobs Web Design in Arizona The Arizona Web Hosting Challenge
|
|
|
|
BobbyDouglas
Posts: 5470 Joined: 5/15/2003 From: Arizona Status: offline
|
RE: Textarea wrapping problem in Firefox using xhtml st... - 10/22/2005 7:48:16
But in my case it doesn't work.
_____________________________
Arizona Web Design - Mr Bobs Web Design in Arizona The Arizona Web Hosting Challenge
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|