<<< prev |
next >>>
CIF : Coding Standards : Dynamic Resizing
Dynamic Resizing is a key feature of CIF modules. The ability of a CIF module to dynamically resize itself increases the number of viewports which can display it.
We use the term sizing pressure to refer to the demands which are placed on HTML pages when placed into randomly-sized framesets. You can test resizability by changing the size of the display window now and then. The module should look good under sizing pressure of this sort.
CIF modules should be able to look good under horizontal sizing pressure down to 240 pixels (about a third of a screen on a 640 pixel monitor), and vertical sizing pressure down to about 160 pixels (about a third of a 480 pixel monitor). The following rules relieve sizing pressure and maximize the ability of a CIF module to automatically resize itself when it lands inside a reduced-size window or frame.
- Use of fixed-width page size specifications using the <WIDTH> or <HEIGHT> tags is not permitted.
- Use of tables is strongly discouraged because they create overly-complex visual displays that may not render correctly under sizing pressure.
- Use of complex positioning code which is intended to maintain a relatively fixed visual relationship between page elements is not allowed. Examples of common disallowed tricks include constructs such as <DD> or <IMG SRC="blank.gif" WIDTH=10 ALT="">
- Visible titles in the <BODY> text should be short so they do not take up too much space when subjected to horizontal sizing pressure.
Content for this flash card was provided by Growth House, Inc. For full credits click here.