resize property
Specifies whether an element is resizable and if so, along which axis.
JavaScript page for this property: resize. You can find other example(s) there. |
Possible values:
One of the following values:
Allow to adjust the height and the width of the element. | |||||||
Allow to adjust only the width of the element. | |||||||
Takes the value of this property from the computed style of the parent element. | |||||||
Resizing is not allowed for the user. | |||||||
Allow to adjust only the height of the element. |
Default: none.
Example HTML code 1:
This example illustrates the use of the resize property:
|
||||
<head> <style> .example { background: red; width: 200px; height: 100px; resize: both; overflow: scroll; } </style> </head> <body> <div class="example">Resize this division!</div> </body> |
||||
|
||||
Did you find this example helpful?
|
Supported by tags:
address, applet, blockQuote, body, caption, center, dd, dir, div, dl, dt, fieldSet, form, H1, H2, H3, H4, H5, H6, input:file, input:password, input:search, input:text, isIndex, legend, li, marquee, menu, object, ol, p, pre, select, table, td, textArea, th, tr, ul, xmp
External links:
User Contributed Comments