RE: JavaScript question

John C. asked:
> Are pixels classified as relative units?  (For menu width, not font
> size) 

No!  IMHO px should only be used be used in reference to IMG.  For WCAG1 AA you shouldn't be using graphical text at all (ref. P2 checkpoint 3.1).

The whole point of 3.4 (also P2) is that your page remain scaleable.  Using px units in a menu would defeat this goal.

One MIGHT use px for specifying COL width in a table if images were the only thing that appeared in said column.

I am intrigued by John Foliot's example of using ems even on IMG.  I haven't decided if I like it though!
> http://wats.ca/resources/relativesizing/20

Received on Thursday, 6 January 2005 16:55:37 UTC