CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS max-height property




The CSS max-height property set the maximum size of height in element.


Property Values


Properties Value Description
Syntax max-height:value;
value   Size_px
  percentage
  inherit
Allow to All elements
Inherited No

Example-Code:

<textarea style="height:50px; max-height:100px; width:300px;">
Wow! CSS is realy enjoy to play Study.....
</textarea>
Online Try This Code Your Self....   »

Example-Result: