tailieunhanh - Web Programming with HTML, XHTML, and CSS- P14

Web Programming with HTML, XHTML, and CSS- P14: There are a lot of books about designing and building web pages, so thank you for picking up this one. Why do I think it is different? Well, the Web has been around for over a decade now, and during its life many technologies have been introduced to help you create web pages, some of which have lasted, others of which have disappeared. Many books that teach you to write web pages are revisions of earlier versions of the same book and therefore still take the same approach as the previous edition did | Appendix C CSS Properties Value IE N FF auto 7 - 1 length 7 - 1 percentage 7 - 1 inherit - 6 1 Inherited No Default auto Applies to Block elements min-height This specifies the maximum height of a block-level element same values as for height . td min-height 100px Value IE N FF auto 7 - 1 length 7 - 1 percentage 7 - 1 inherit - 6 1 Inherited No Default auto Applies to Block-level elements min-width This specifies the minimum width of a block-level element same values as for width . td min-width 200px Value IE N FF auto 7 - 1 length 7 - 1 percentage 7 - 1 inherit - 6 1 Inherited No Default auto Applies to Block elements 621 Appendix C CSS Properties Margin Properties Margin properties allow you to specify a margin around a box and therefore create a gap between elements borders. margin margin-bottom margin-left margin-top margin-right This specifies the width of a margin around a box. p margin 15px Value IE N FF auto 3 4 1 length 3 4 1 percentage relative to parent element 3 4 1 inherit - 6 1 Inherited No Default zero Applies to All elements Padding Properties Padding properties set the distance between the border of an element and its content. They are important for adding white space to documents in particular table cells . padding padding-bottom padding-left padding-right padding-top This specifies the distance between an element s border and its content. td padding 20px Value IE N FF auto 4 4 1 length 4 4 1 Inherited No Default zero Applies to All elements 622 Appendix C CSS Properties Value IE N FF percentage relative to parent element 4 4 1 inherit - 6 1 List Properties List properties affect the presentation of bulleted numbered and definition lists. list-style This is shorthand allowing you to specify list-style-position and list-style-type. ul list-style inside disc Value IE N FF position 4 6 1 type 4 4 1 image 4 6 1 inherit - 6 1 Inherited Yes Default Depends on browser Applies to List elements list-style-position This specifies whether the marker should .