CSS "Cascading Style Sheets" Lessons |
| |
CSS TABLE PROPERTIESMargin : A shortcut property for setting the margin properties in one declaration. margin-bottom : Sets the bottom margin of a table. margin-right : Sets the right margin of a table. margin-top : Sets the top margin of a table. margin-left : Sets the left margin of a table. padding : A shortcut property for setting all of the padding properties in one declaration padding-top : Sets the top padding of a table padding-right : Sets the right padding of a table padding-bottom : Sets the bottom padding of a table padding-left : Sets the left padding of a table border : A shortcut property for setting all of the properties for the four borders in one declaration border-top : A shortcut property for setting all of the properties for the top border in one declaration. (border-bottom-width,border-style,border-color) border-left : A shortcut property for setting all of the properties for the left border in one declaration. (border-bottom-width,border-style,border-color) border-bottom : A shortcut property for setting all of the properties for the bottom border in one declaration. (border-bottom-width,border-style,border-color) border-right : A shortcut property for setting all of the properties for the right border in one declaration. (border-width, border-style, border-color) border-width : A shortcut property for setting the width of the four borders in one declaration. (values ; thin,medium,thick,length) border-right-width : Sets the width of the right border. border-bottom-width : Sets the width of the bottom border. border-left-width : Sets the width of the left border. border-top-left : Sets the width of the top border. border-style : A shortcut property for setting the style of the four borders in one declaration. ( (values; none,hidden,dotted,dashed,solid,double,groove,ridge,inset,outset) border-top-style; Sets the style of the top border. border-right-style; Sets the style of the right border. border-bottom-style; Sets the style of the bottom border. border-left-style; Sets the style of the left border. border-color : A shortcut property for setting the color of the four borders in one declaration. border-top-color : Sets the color of the top border. border-right-color : Sets the color of the right border. border-bottom-color: Sets the color of the bottom border. border-left-color : Sets the color of the left border. Notice : this labels (Margin and padding ) not only affect a table but also affect other parameters ( H, P etc..). This is css avantage. CSS -Table-Application - 1 CSS -Table-Application - 2 |
| |