|
Margins? Those neat page borders? Truly detailed and precise page layout? WYSIWYG? BZZZTT!! Sorry, but thanks for playing HTML roulette. Johnny, tell our web page author what he's won: WYSIWYHTUWS! P> What You See Is What You Hope The User Will See :-) In fact, what I see in this page is what I hope you will see, although I know that some won't see what I see. It will appear fine for many, acceptable for some, and truly awful for a few. The indents of this paragraph are brought to courtesy of the SIT (Stupid Indent Trick) known as 'clear GIF', a single pixel with space 'reserved' by the browser using the HSPACE attribute. Not all browsers handle transparent GIFs. Not all browsers support HSPACE. But it's fairly reliable and with care 'collapses' neatly under most browsers that don't support these features. Other common SITs include inappropriate use of <BLOCKQUOTE>, and the invalid HTML <UL> sans <LI>, and <DL> sans <DT>/<DD> kludges. Valid or invalid, appropriate or inappropriate, these tricks are rendered by various browsers with a wide variety of indentations, ranging from 'much' to 'none'. YMMV Many of these tricks do have valid use in controlled local/intranet environments where everyone is using a known browser. It is the open Internet where the SIT is invitation to disappointing and truly ugly page rendering. Test Page Along the right margin of this page, (if you're using a tables- and images-aware browser,) is a snippet of an image created by tagtest.html. Full page images can be retrieved via the browser's names in the following table. They're all in the 20-25k file size range. For those screen clips, I made a best-eyeball-guesstimate to set the browsers to 640 pixels wide, and they're all about 1024 pixels high. For these tests, all browsers were set to 14pt proportional and fixed width fonts. (MSIE doesn't offer pt size, set to 'medium'.) My personal comfortable preference is 16pt for this 1280x1020x14" screen, but couldn't quite fit everything in for som e browsers, so used 14pt. Regardless, all browsers displayed the same indents at all font sizes. Browser abbreviations:
|
| Stupid Indent Tricks Just the facts, Max. | ||||||||
| ||||||||
| OS: Windows 3.1 | ||||||||
| Browser | Default Top Margin | Default Left Margin | HSPACE =5 | Normal Indent | Blockquote Indent | UL Indent | DL Indent | |
|---|---|---|---|---|---|---|---|---|
| MSIE 2.01 | 20 | 10 | 21 | 10 | 31 | 31 | 10 | |
| MSIE 3.0a | 16 | 10 | 21 | 10 | 52 | 31 | 10 | |
| NCSA 2.1.1 | 4 | 24 | 33 | 20 | 40 | 40 | 40 | |
| NN 1.22 ATT | 21 | 13 | 24 | 13 | 53 | 53 | 13 | |
| NN 2.02 | 15 | 10 | 21 | 10 | 50 | 50 | 10 | |
| NN 3.01 | 15 | 10 | 21 | 10 | 50 | 50 | 10 | |
| OP 2.12 | 10 | 10 | 21 | 10 | 39 | 30 | 10 | |
| OPB 1.5 | 5 | 4 | 15 | 4 | 104 | 54 | 4 | |
| SPRY 4 | 4 | 24 | 33 | pre 19 norm 20 (3) | 21 | 40 | 40 | |
| WW 1.0a1 | (1) | (1) | (2) | pre 23 norm 24 (3) | 24 | 48 | 48 | |
| Browser | Default Top Margin | Default Left Margin | HSPACE =5 | Normal Indent | Blockquote Indent | UL Indent | DL Indent | |
| OS: Linux X11 | ||||||||
| Browser | Default Top Margin | Default Left Margin | HSPACE =5 | Normal Indent | Blockquote Indent | UL Indent | DL Indent | |
| Lynx 2.8.2 (c=char) | 0c | text=0c, alt=2c | text=0c, ALT=2c | 3ch | 6c | 4c | 4c | |
| NN 4.08 | 8 | 8 | 19 | pre 8 norm 9 (3) | 49 | 49 | 9 | |
|
Table Notes
Other Notes
Summary Content is all. Yes, you want your pages to render as precisely and attractively as possible under every browser in the known universe. But your efforts will take you only so far. After that, you need to learn to just 'let go'. Put up the content, make sure it's accurate, validate, view it under a few of the popular browsers to double check it's at least acceptable, and let it go. Comments, questions, suggestions, abuse: <jb@jbarchuk.com> URL: http://www.jbarchuk.com/indent/ |