Danh mục tài liệu

Web Programming with HTML, XHTML, and CSS- P14

Số trang: 50      Loại file: pdf      Dung lượng: 383.27 KB      Lượt xem: 21      Lượt tải: 0    
Xem trước 5 trang đầu tiên của tài liệu này:

Thông tin tài liệu:

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 lifemany technologies have been introduced to help you create web pages, some of which have lasted, othersof which have disappeared. Many books that teach you to write web pages are revisions of earlier versionsof the same book and therefore still take the same approach as the previous edition did....
Nội dung trích xuất từ tài liệu:
Web Programming with HTML, XHTML, and CSS- P14 Appendix C: CSS Properties Value IE N FF Inherited No auto 7 - 1 Default auto [length] 7 - 1 Applies to Block elements [percentage] 7 - 1 inherit - 6 1min-height This specifies the maximum height of a block-level element (same values as for height). td {min-height:100px;} Value IE N FF Inherited No auto 7 - 1 Default auto [length] 7 - 1 Applies to Block-level elements [percentage] 7 - 1 inherit - 6 1min-width This specifies the minimum width of a block-level element (same values as for width). td {min-width:200px;} Value IE N FF Inherited No auto 7 - 1 Default auto [length] 7 - 1 Applies to Block elements [percentage] 7 - 1 inherit - 6 1 621Appendix C: CSS PropertiesMargin Proper ties 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 Inherited No auto 3 4 1 Default zero [length] 3 4 1 Applies to All elements [percentage — 3 4 1 relative to parent element] inherit - 6 1Padding Proper ties Padding properties set the distance between the border of an element and its content. They are impor- tant 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 Inherited No auto 4 4 1 Default zero [length] 4 4 1 Applies to All elements622 Appendix C: CSS Properties Value IE N FF [percentage — 4 4 1 relative to parent element] inherit - 6 1List Proper ties 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 Inherited Yes 4 6 1 Default Depends on browser 4 4 1 Applies to List elements 4 6 1 inherit - 6 1list-style-position This specifies whether the marker should be placed inside each item of a list or to the left of them. ul {list-style-position:inside;} Value IE N FF Inherited Yes inside 4 6 1 Default outside outside 4 6 1 Applies to List elements inherit - 6 1 623Appendix C: CSS Propertieslist-style-type This indicates the type of bullet or numbering that a bullet should use. ul {list-style-type:circle;} Value IE N FF Inherited Yes None 4 4 1 Default disc ...