![]() |
|
#1
|
||||
|
||||
CSS Textarea ProblemsWhen I am making a textarea for my form, and I define it with a class (defining the background color, font color, font size, and border color w/width) the textarea box, in Mozilla, appears about 1/4th the width. In InternetExplorer, it is in the full width (correct width).
mrbobdouglas[dot]com/stuff/textarea1.htm (without css) mrbobdouglas[dot]com/stuff/textarea2.htm (with css) mrbobdouglas[dot]com/stuff/explorer.jpg (screenshot using IE) mrbobdouglas[dot]com/stuff/firefox.jpg (screenshot using firefox 0. In the FrontPage view, the textarea appears in the full size, then I goto preview, still is the full size, then I open it in Mozilla, and it is 1/4th the size (wide). Another Mozilla problem? I haven't checked this on other computers. Not sure what else to do on this one. I think the problem is with the font size. However, I am not sure how else I could get the correct font size for the textarea in Mozilla. Any ideas? __________________
Mr. Bob's Web Design - Tirelessly looking for ways to enhance the customer base of your business. |
|
#2
|
|||
|
|||
|
Place these two lines in your css class:
HTML Code:
Then remove cols and rows attributes from <textarea> making: HTML Code:
Just change the width and height as necessary. |
|
#3
|
||||
|
||||
|
mrbobdouglas[dot]com/stuff/textarea3.htm
Still does not work. This way doesn't even work in IE. Thanks for the help though. I can't seem to find out how to do this at all. |
|
#4
|
|||
|
|||
|
Quote:
I made an error on the code, it should be "class" and not "id" in the <textarea> |
|
#5
|
||||
|
||||
|
Tried that too. Still did not work.
Someone from another forum just told me to try: HTML Code:
Instead of: HTML Code:
Ah and it worked! ![]() __________________
Mr. Bob's Web Design - Tirelessly looking for ways to enhance the customer base of your business. |
|
#6
|
|||
|
|||
|
Try this:
HTML Code:
Works for me in IE6 and Firebird. I get the same size font and width, height |
|
#7
|
|||
|
|||
|
Oops sorry I didn't read you last post properly.
|
|
#8
|
||||
|
||||
|
Just be glad it works!
__________________
Mr. Bob's Web Design - Tirelessly looking for ways to enhance the customer base of your business. |
Recent GIDBlog
Python ebook by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Chaintech Geforce 5600 FX problems | bartster74 | Computer Hardware Forum | 8 | 04-May-2004 13:16 |
| CD Burner Problems | Joe9995 | Computer Hardware Forum | 0 | 07-Feb-2004 10:47 |
| Apache - problems using PHP outside the intranet | ooandioo | Apache Web Server Forum | 6 | 04-Feb-2004 09:27 |
| CD Burner problems | dan_wood | Computer Hardware Forum | 3 | 27-Nov-2003 19:12 |
| textarea width problem | zuzupus | Web Design Forum | 2 | 23-Jul-2003 03:06 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The