HTML and CSS Reference
In-Depth Information
If, by default, a property is not inherited, you can give a child element a property with the value inherit to tell the
browser to apply the same property value used for the element's parent.
Not all properties can be applied to all elements. The table-layout element, for example, can be applied only to
table and inline-table elements such as <table> and <td> .
If a property is from the CSS2.1 specification, unless otherwise stated, it is safe to use in all browsers. Properties
from the CSS3 specification may not be safe to use in all browsers—particularly Internet Explorer versions 6, 7,
and 8; if this is the case, I explain how best to work around that. Furthermore, experimental properties from CSS3
may require vendor prefixes, which you learn how to use shortly.
Each property definition also includes a list of browser versions that support that property, both with and without
vendor prefixes where necessary.
Figure 5-1 The web page centered and with a defined width of 960 pixels.
Using Experimental Properties Safely
Search WWH ::




Custom Search