The Width property works exactly same as the height property. To
specify the width of the content area or any other element which is
either created by you with the help of css class; you can use the width
property of css.
The width of an element is in your control if you are controlling with style sheet. Width property has 3 values to apply:-Width
- Auto
- Pixel
- Percentage
Max width
- (none, pixel, percentage)
Min width
- (pixel, percentage)
Example for Width Properties:-
/* Syntax of Width Properties in CSS*/
height:value;
max-height:value;
min-height:value;
height:value;
max-height:value;
min-height:value;
NOTE:-
To use these properties and relevant values of width,
read posts on each topic in the next section of this blog.
0 comments:
Post a Comment