CSS1 Canvas

-as drawn by different browsers

-by Charles T. Low
-from: ctLow Home -> CSS1 Intercompatibility
-to: Canvas CSS1 - CSS1 Screenshots


Different browsers draw the canvas differently. I believe that the W3C doesn't altogether discourage this, but it does lead us to the issue of how accurately we can predict the appearance of web pages we design.

To help clarify this, I've done two things:

  1. -written a simple web page, Canvas CSS1, with a few block-level elements in it -- further explanation below.
  2. -posted a few screenshots of how the page appears in a few current and recent browsers.

Canvas CSS1

This web page illustrates several features of how any specific browser will display standard "block-level" structures. All of the blocks have both a 5 point margin and a 5 point padding (except the UL's -- I left their margins and paddings unaltered at the browsers' defaults). You will find them all listed by name on the page itself, with the color of their borders and backgrounds also listed, to compare against the actual display.

Once you display Canvas CSS1, you can examine both its HTML and CSS1 source codes, done on most browsers from the View menu. You will notice the following:

There are other minor display differences among the various web browsers, but nothing serious. N6 seems to require a window width of about 400 pixels before closing the right side of the various "containers" displayed on Canvas CSS1, even though none of them has text reaching even nearly that far -- not a big problem.


Screen shots

Here are a few screen shots of several web browsers displaying Canvas CSS1.


-by Charles T. Low
-from: ctLow Home -> CSS1 Intercompatibility
-to: Canvas CSS1 - CSS1 Screenshots