Page 115 - Plus_V2.2_C7_Flipbook
P. 115

Output:













                                                          Using width Property

                 Using Height Property

                 The height property is used to specify the height of an element in CSS. For example,


                   <STYLE>
                       table {

                           height: 200px;
                       }
                   </STYLE>















                                                          Using height Property

                 Using padding Property

                 The padding property is used to specify the space around the content of a cell and the border of the
                 cell in a table.

                 For example,


                   <STYLE>
                   table, th, td
                   { border:2px;

                   border-style:solid;
                   border-color:green;
                   border-spacing:15px;
                   padding:15px }

                   </STYLE>
                                                                                 Using padding Property


                                                                                                  More on HTML5   113
   110   111   112   113   114   115   116   117   118   119   120