CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS max-width property




The CSS max-width property set the maximum size of width in elements.


Property Values


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

Example-Code:

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

Example-Result: