Link:http://output.to/sideway/default.asp?qno=180200041 Knowledge Base CSS Wrapper CSS WrapperWrapper and ContainerThe word container is usually to name a tagged element that is used as the document structure builder for containing document content. A container may contain one, or more than one tagged elements which are grouped together to form a functional structure of a document. While a wrapper is a tagged element that is used as an interface for wrapping around another object to alter the functionality or layout of the wrapped object in the document. In other words, container usually works with the context of document structure of a ducument and wrapper works with the context of presentation format of a document. CSS wrapper may be in simple, compound and complex forms which suited for simple to complex presentation. Although a CSS wrapper is usually refered to as an additional tag used to wrap a functional container, sometimes a functional container can also be acted as a CSS wrapper to replace a dummy CSS wrapper when a functional container hold simple structure only. Cascade, Inheritance, and InheritanceThe cascade, inheritance, and specificity are the most important features of CSS. These features are all based on the parent-child and sibling relationships. Sometimes, these relationships may cause trouble when designing a complex webpage. A CSS wrapper provides a simple solution to tackle these problems by either creating an isolated parent-child or sibling relationship, or breakng an existing parent-child or sibling relationship. Functions of a CSS WrapperSome typical functions of a CSS wrapper are
|
Sideway BICK Blog 27/02 |