mozilla textarea wrap's ...

| 19 Comments

It looks like mozilla doesn't textwrap with the default styles.css file.

I tried adding "white-space:normal;", but it didn't have any effect. (no clue if it should have).

update: Ben says that mozilla is broken; when the width is set for the textarea it won't remember any wrap options. Bah!

19 Comments

There's a simple fix for that:

1. <textarea style="width: 100%;" wrap="virtual" />
2. <textarea cols="" style="width: 100%;" wrap="virtual" />

Option two has cols="", which makes Mozilla honor the wrapping attribute.

Yay, that works. Thanks a lot!

55555555555555555555555555555555555555555555555555555555555555555555555555

this is the day we all remember
yesterday is a day we'd like to forget
tomorrow will be better than today

I remember a day when musicians played their instruments by hand!
______________________________________________

mozilla does work, atleast in 1.6 on linux.
however, I do have to implement

This did not work for me using firefox. Anybody else have any suggestions?

1. <textarea style="width: 100%;" wrap="virtual" />
2. <textarea cols="" style="width: 100%;" wrap="virtual" />

:)) missinterpreted the new standard huh?? Naughty naughty.... only simple tags need to have " />" at the end...

I know I'm waaaaay off topic... but I was just getting sssssoooooo bored with coding....

it does not wokring in Firefox 1.5.0.1, any other idea. please mailme:agphoto24@yahoo.com

I have a great fix for Firefox, Opera, and any other Mozilla-based browsers that can't render forms properly:

Use INTERNET EXPLORER! That's the browser that comes as part of the Microsoft Windows Operating System. You see, when you develop an operatibg system, you (not some geek in Geneva) get to set the standards. Internet Explorer is designed to be FORGIVABLE of many coding errors that would drive Mozilla browsers up a wall. You see, the standards aren't set by W3C, but rather they are set by Microsoft. If you can't live with this then invent your own operating system an d market it.

Sometimes I think that many of you geeks are masochists at heart, because you seem to keep coming back for more everytime you get burned by a Mozilla browser. Again, W3C doesn't set any rules that Microsoft is bound to respect, because the Windows operating System is owned by Microsoft, not W3C, so Bill and Steve just chuckle and proceed to do things as they wish. In the meantime the geeks spend much of their time hunting for fixes and patches so that somehow their Mozilla (Godzilla?) browser can be made to work with a Gateszilla system.

Hang it up, already! Did you not learn anything from the Netscape Navigator experience? Say now to crapware!

Jeff Harris:

Well that last post was so insightful. A few things come to mind.

1) Internet Explorer's security team choose Swiss Cheese as their inspiration.

2) Imagine what the web would be like if we were all using Internet Explorer 1.0. Without competition IE would never change. How long was it between the release of IE 6 to IE 7? It took Firefox's popularity to get IE 7 developed.

3) Yes, if you write an OS that has +90% of the market you do set the standard, no argument there. That doesn't mean they are setting a good standard! MS has a long history of poor standards. Its evident in all their software, from OS to Web Browsers.

4) Just because MS sets the standard doesn't mean others can't and won't exceed their standards (which is often the case).

5) This goes without saying, but its worth mentioning. John Adams is a close minded jackass.
I get a grin on my face when I think about people like him using IE and other MS software. They get what they deserves, all the viruses and spyware that go along with the Market leader!

Have fun with IE John!

Jon Adams,
People use mozilla because IE is notoriously insecure via executing activex controls and such. I personally dont want to use a browser thats capable of modifying my system files, do you?

So, does anybody has a solution to fix this wrap problem ? Im searching the whole day, but I cant find any solution. On other pages it works to use my mozilla and the wrap works, so there has to be a solution. Thanks in advance

I have text in text area without white space and hence even the wrap="virtual" doesn't work in that case for Firefox.

example textarea has following characteristics:
'rows' => 4,
'cols' => 80,
'wrap' => virtual


but it doesn't wrap text without space more than 80.
Thanks in advance!

This is maybe the one bug I have found in Firefox for over two years. So the idiot talking all the crap about using IE can shut it! IE has made life a living hell for compliant developers for years. In every single project I have to code 5-10 workarounds just so the lambs using IE can see the pages! (Hmm let's see: css bugs; application embedded forms bleeding through layers; poor JavaScript implementation; png32 graphics not supported... should I continue?) Plus let's not forget that in IE the texarea resizes when you try sizing with css! What a bunch of BS!

wrap='virtual' worked for me!

IE sure has bugs, but Firefox has as well.

Why in Firefox can't I color my scrollbars the way I want them to be? Why the tables have to have a grey border and disregard the color attribute? Why modal dialogs do not work? Why vbScript cannot be executed? Why Flash player playback is so slow?

Firefox is still away from being the best browser. One great feature I think Firefox has, is the extensions which is much easier to code than ActiveX controls but can be malicious as well if you don't know the developer.

Browsers need to serve the same cause, serve the developer and the user alike. They need to set a web standard and move on. As developers, we can't be "browser fans/fanatics", the user can use what is more comfortable to him/her and we must serve him/her the content right, as it is meant to be viewed.

This is maybe the one bug I have found in Firefox for over two years. So the idiot talking all the crap about using IE can shut it! IE has made life a living hell for compliant developers for years. In every single project I have to code 5-10 workarounds just so the lambs using IE can see the pages! (Hmm let's see: css bugs; application embedded forms bleeding through layers; poor JavaScript implementation; png32 graphics not supported... should I continue?) Plus let's not forget that in IE the texarea resizes when you try sizing with css! What a bunch of BS!

This is maybe the one bug I have found in Firefox for over two years. So the idiot talking all the crap about using IE can shut it! IE has made life a living hell for compliant developers for years. In every single project I have to code 5-10 workarounds just so the lambs using IE can see the pages! (Hmm let's see: css bugs; application embedded forms bleeding through layers; poor JavaScript implementation; png32 graphics not supported... should I continue?) Plus let's not forget that in IE the texarea resizes when you try sizing with css! What a bunch of BS!

This is maybe the one bug I have found in Firefox for over two years. So the idiot talking all the crap about using IE can shut it! IE has made life a living hell for compliant developers for years. In every single project I have to code 5-10 workarounds just so the lambs using IE can see the pages! (Hmm let's see: css bugs; application embedded forms bleeding through layers; poor JavaScript implementation; png32 graphics not supported... should I continue?) Plus let's not forget that in IE the texarea resizes when you try sizing with css! What a bunch of BS!

This is maybe the one bug I have found in Firefox for over two years. So the idiot talking all the crap about using IE can shut it! IE has made life a living hell for compliant developers for years. In every single project I have to code 5-10 workarounds just so the lambs using IE can see the pages! (Hmm let's see: css bugs; application embedded forms bleeding through layers; poor JavaScript implementation; png32 graphics not supported... should I continue?) Plus let's not forget that in IE the texarea resizes when you try sizing with css! What a bunch of BS!

This is maybe the one bug I have found in Firefox for over two years. So the idiot talking all the crap about using IE can shut it! IE has made life a living hell for compliant developers for years. In every single project I have to code 5-10 workarounds just so the lambs using IE can see the pages! (Hmm let's see: css bugs; application embedded forms bleeding through layers; poor JavaScript implementation; png32 graphics not supported... should I continue?) Plus let's not forget that in IE the texarea resizes when you try sizing with css! What a bunch of BS!

This is maybe the one bug I have found in Firefox for over two years. So the idiot talking all the crap about using IE can shut it! IE has made life a living hell for compliant developers for years. In every single project I have to code 5-10 workarounds just so the lambs using IE can see the pages! (Hmm let's see: css bugs; application embedded forms bleeding through layers; poor JavaScript implementation; png32 graphics not supported... should I continue?) Plus let's not forget that in IE the texarea resizes when you try sizing with css! What a bunch of BS!

Wayne,

You ask, "Why vbScript cannot be executed?"

VBScript is a Microsoft proprietary language. Tell Microsoft to make it freely available, and, *IF YOU SUCCEED*, you can bet that it will be in the next release of Firefox.

IE6 sat without any development after 2001 for about 6 years. They did a huge disservice to the computing community (which is pretty much the non-third world, and a big part of the third world) by not making it more compliant. Now IE7 is such a piece of crap that anyone with any understanding of their computer (which is pretty much a small portion of the planet, unfortunately) should be moving on to Firefox. If there weren't so much crap on the Internet that required IE, then it would be easy to move people from IE. But stupid developers just say "there was no spec that required it run on anything but IE, so I just used all the proprietary IE extensions so that my life would be easier." They do themselves and the rest of the world a HUGE disservice. Even if it doesn't say so in the spec, the managers that approve the spec need to be educated about the mistakes they are making.

About 70% of my visitors are still using IE (mad people!), I design for Firefox first and worry about fixing things to work with buggy IE once I am happy with it. I only have IE on my system for testing web sites I design, I NEVER use it to surf. I still think a lot of people don't even know there is an option. The amount of internet users I ask what browser they use and they just say stupid things like: "the one that came with the computer of course, why would I BUY something else" or worse still "whats a browser?" 8o(

> "whats a browser?"

Yaeh, unfortunately, this is a very common question.

2009 year. Today, there is a lot of good browsers (Firefox, Safari, Opera, Chrome, Konqueror, etc...) but there are STILL so many IE6 users! Damn!

IE6 is popular just because it was released with the last *acceptable* Misro$oft OS (I mean XP here, because Vista is really "Windows 7 Alpha version", and is totally crap).

IE6 was released 8 years ago. 8 YEARS! It is a HUGE period of time for IT-industry. For example, M$ Windows is 24 years old, then IE6 is 8/24 -- 1/3 if total Windows life!!!!! It is HUGE PERIOD OF TIME. Incredible!

IE6 is still alive. It will die when all Windows XP users will switch to Windows 7. We will have to wait a MANY YEARS for it to happen, because XP will live long enaugh, like it was with Windows 98. And only then IE6-hell will end. When? 2015 ?

BTW, Wikipedia says: "Windows 7 will include Internet Explorer 8 (except in Europe)". Victory!!! In Europe, Windows 7 buyers will have to download and install a web browser for themselves. Read more here: http://news.bbc.co.uk/2/hi/technology/8096701.stm

Leave a comment

About this Entry

This page contains a single entry by Ask Bjørn Hansen published on March 17, 2002 10:32 PM.

Find recent content on the main index or look in the archives to find all content.

Pages

OpenID accepted here Learn more about OpenID
Powered by Movable Type 4.33-en
/* bf */