12 January 2010

Disable textbox resize in Apple Safari and Google Chrome

Safari and Chrome are 2 browsers that support resizing of the html textbox element. Though this is good in some instances, this can be really annoying too as it can break your beautiful layout.

To disable resizing of the textbox element, add the following css to your code:

textbox { resize: none; }

That's it!

1 comment:

Jason said...

Thanks for the memo man!