Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable Google Chrome text area size adjustment

Is there a way you can think of that yo can avoid Google chrome built in text are adjustment.

See how ugly it looks:

alt text :)

I know why it's there and I find it a very useful feature but in some design-oriented pages, you might want to remove it.

like image 477
Trufa Avatar asked Dec 16 '10 22:12

Trufa


People also ask

How do I stop textarea from resizing?

A simple way to ensure that the control is not resizable is to add an explicit style="resize: none;" attribute on the textarea element using the HTML Form Element Attributes property.

How do I stop chrome from resizing?

If you are using a Windows Computer you can adjust the re-sizing by right-clicking on the Chrome Shortcut to access Properties. From the Properties menu go to Compatibility tab. From there you will see a Disability display 'Disable display scaling on high DPI' option. Ensure that box is selected.

How do I restrict textarea size?

In some cases, there is a need of putting a limit on the size of characters that can be typed in a textarea. So in that case, we can use maxlength attribute to control the number of characters entered in a textarea.

How do I stop web pages from resizing?

Specifying a min-width to your <body> element will prevent auto-resizing.


2 Answers

It's in Safari too.

You can disable it with CSS:

textarea {
    resize: none;
}
like image 171
littlegreen Avatar answered Sep 25 '22 00:09

littlegreen


textarea {
    resize: none;
} 

Source: http://www.google.com/support/forum/p/Chrome/thread?tid=5f9cd62207e2c7a8&hl=en

like image 29
Tom van der Woerdt Avatar answered Sep 22 '22 00:09

Tom van der Woerdt