CSS List and Marker Style PropertiesYou may not have realized how much flexibility there is when it comes to the styling of lists via CSS. Several CSS styles apply to lists and the list-item markers, or bullets, within the lists. list-style
list-style-image
list-style-position
list-style-type
|
CSS Table Style PropertiesThere are a few advanced table properties that enable you to fine-tune the manner in which tables are rendered and displayed. border-collapse
|
|
Usage |
Sets the distance between the borders of adjacent
|
|
Values |
length length . |
|
Usage |
Sets the position of the caption relative to the table. |
|
Values |
top , bottom , left , right . |
|
Usage |
Determines whether cells with no visible content should have borders. |
|
Values |
show , hide . |
|
Usage |
Determines how the table is laid out. |
|
Values |
auto , fixed . |
|
Notes |
Speeds up browser rendering for
|
Appendix D. Migrating from HTML to XHTMLAlthough the relationship between HTML and XHTML has been covered in several places throughout the book, I felt it would be beneficial to have all the information in one place. This appendix serves as a reference for quickly obtaining the information regarding the differences between HTML 4 and XHTML 1.1, which are the primary two web standards involved in web page creation. |
Differences Between XHTML 1 and HTML 4
XHTML 1.1 is an improved version of HTML 4 that plays by the more rigid rules of XML. Fortunately, most of the differences between XHTML and HTML don't dramatically impact the overall structure of HTML documents. Migrating an HTML document to XHTML is more a matter of cleaning and
Following is a list of the primary differences between XHTML and HTML, with a focus on what XHTML requires that HTML doesn't:
Based on your newfound knowledge of XML, none of these differences should come as too much of a surprise,
|