Sept. 20, 1998

Putting Style Sheets in Perspective

Marginally Speaking

It has long been the desire of web developers to lay out the content of their pages in a style that is unique to themselves, to break away from the norm, so to speak. To this end, various hacks have been devised, some legal, some not so legal. Proprietary elements were created by browser developers, some of which have become part of the standard over time.

Through the use of the CSS2 margin, border and padding properties we can at last have some control of page layout without resorting to transparent gifs and tables. This method will not be for everyone. If you require your pages to look exactly the same in older browsers as they do in the 4.0 versions you will need to continue using the tried and true methods. On the other hand, if you want great pages in the 4.0 browsers, pages that degrade nicely, (but minus the fancy formatting), then CSS2 is for you!

This month we're going to look controlling layout using the margin, border and padding properties. If you haven't already read Part 1 and Part 2 of the Putting Style Sheets in Perspective, it is recommended that you do so, to gain an understanding of the basics of CSS.

Contents:

Putting Style Sheets in Perspective: Table of Contents
Putting Style Sheets in Perspective: Box Model

Up to => Home / Authoring / Style / Sheets

Guide Keywords Lexicon Site Map Top 100 Tutorials


Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers