Computer >> Computer tutorials >  >> Programming >> CSS

Paged Media in CSS


Paged media differ from continuous media in that the content of the document is split into one or more discrete pages. Paged media includes paper, transparencies, pages that are displayed on computer screens, etc.

The CSS2 defines a "page box", a box of finite dimensions in which content is rendered. The page box is a rectangular region that contains two areas −

  • The page area − The page area includes the boxes laid out on that page. The edges of the page area act as the initial containing block for a layout that occurs between page breaks.
  • The margin area − It surrounds the page area.