MyBB Community Forums

Full Version: Text Field Size
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
1.8

I know a user can grab the text field to resize but can the text field be made smaller to start with?
Hey!

As if you mean a textarea, you can resize it by adding style=“width=200px;height:200px” in your <textarea tags.
Thanks. Any idea what template?
Grabbing the textarea is just a function that comes with the browser. It's no standard and it is an individual behaviour by the browser you use. So never rely on and forget about this grabbing function in terms of webdesign!

Instead use the standard CSS and define the dimension for textarea tags.
Set absolute values (e.g. width: 200px) or relative values (e.g. width: 85%) to customize.

There are a couple of textareas used in the forum system - so which textarea you want to modify? For example there are:
- New Thread
- New Reply
- Private Messaging
- Moderatore notes

[ExiTuS]
Awesome thanks. The main issue is with New Thread, Quick Reply. Is there a common css that deals with both?
What theme do you use?
If standard theme, then look into templates named like the mentioned above. You'll find the textarea code for sure for inline CSS styles. And goto global.css to edit the attributes for "textarea".

[ExiTuS]