Sideway
output.to from Sideway
Draft for Information Only

Content

CSS Wrapper
 Wrapper and Container
 Cascade, Inheritance, and Inheritance
 Functions of a CSS Wrapper

CSS Wrapper

Wrapper and Container

The 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 Inheritance

The 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 Wrapper

Some typical functions of a CSS wrapper are

  • A isolating wrapper is to isolate a contioner as a seperated container such that the unneeded cascade, inheritance, or specificity feature will be stopped by breaking the parent-child or sibling relationship. sibling relationship will be broken
  • A packing wrapper is to pack a functional container as an individual container such that the whole functional container can be modified and reused easily without altering the tagged elements insides a container.
  • A decorating wrapper is to add a decorating out tag to a container such that the presentation of the container can be altered by the additional tag.

©sideway

ID: 180200041 Last Updated: 3/16/2019 Revision: 0 Ref:

close

References

  1. http://www.w3.org/TR/1999/REC-html401-1999, 1999, HTML 4.01 Specification: W3C Recommendation, updated 24 December 1999
close

Latest Updated LinksValid XHTML 1.0 Transitional Valid CSS!Nu Html Checker Firefox53 Chromena IExplorerna
IMAGE

Home 5

Business

Management

HBR 3

Information

Recreation

Hobbies 8

Culture

Chinese 1097

English 339

Reference 79

Computer

Hardware 249

Software

Application 213

Digitization 32

Latex 52

Manim 205

KB 1

Numeric 19

Programming

Web 289

Unicode 504

HTML 66

CSS 65

SVG 46

ASP.NET 270

OS 429

DeskTop 7

Python 72

Knowledge

Mathematics

Formulas 8

Algebra 84

Number Theory 206

Trigonometry 31

Geometry 34

Coordinate Geometry 2

Calculus 67

Complex Analysis 21

Engineering

Tables 8

Mechanical

Mechanics 1

Rigid Bodies

Statics 92

Dynamics 37

Fluid 5

Fluid Kinematics 5

Control

Process Control 1

Acoustics 19

FiniteElement 2

Natural Sciences

Matter 1

Electric 27

Biology 1

Geography 1


Copyright © 2000-2024 Sideway . All rights reserved Disclaimers last modified on 06 September 2019