The rule lets you specify various aspects of a page box. Specifically for print, we have the “ CSS Paged Media Module” and the “ CSS Generated Content for Paged Media Module” specifications. Much of the CSS you already know will be useful for formatting for print. Later on, we’ll look at a user agent designed to turn your HTML and CSS into a PDF using these specifications. This is where CSS comes in, whose specifications are designed for use in creating paged media.īecause the specifications are designed for paged media, we won’t be considering browser support in this article - it wouldn’t make a lot of sense. You could import the document into a desktop publishing package and create all of this by hand, however, the work would then need redoing the next time you update the copy. You might need to create cross-references and footnotes, indexes and tables of content from your document. For example, you need to be able to generate page numbers, put chapter titles in margins, break content appropriately in order that figures don’t become disassociated from their captions. Paged media introduces concepts that make no sense on the web. Due to this fixed page size, we have to consider our document as a collection of pages, paged media, rather than the continuous media that is a web page. Whereas on the web we are constantly reminded that we have no idea of the size of the viewport, in print the fixed size of each page has a bearing on everything that we do. The biggest difference, and conceptual shift, is that printed documents refer to a page model that is of a fixed size. The Differences Between CSS For The Web And For Print CSS HTML becomes a handy format to standardize on, far easier to deal with than having everything in a Word document or a traditional desktop publishing package. In addition, even if the entirety of a manuscript or catalog isn’t to be published on a website, some of it likely will be. It seems less strange when you realize that popular eReader formats such as EPUB and MOBI are HTML and CSS under the hood. It may seem a bit strange that content not particularly destined for the web should be maintained as HTML and formatted with CSS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |