Computer Science 1033A/B Lecture Notes - Lecture 2: Hyperbolic Geometry, Decimal Representation, Serif

17 views4 pages
mikekuo58 and 38820 others unlocked
COMPSCI 1033A/B Full Course Notes
25
COMPSCI 1033A/B Full Course Notes
Verified Note
25 documents

Document Summary

Can be measured in different units: points, picas (ms world length, absolute length, pixels (relative to screens resolution, percentage, ems (relative to default browser font, in, cm (absolute length) Usually text = 12 p ( 1/6 of inch) Text=72 p = 1 in tall: when printed. When text printed in pixels, ems, %, its relative to default font size for browser and screen resolution. 1 em = width of m in default font type and size of browser. Accessibility: use ems or % b/c they are relative to browsers default font and other user can make text more readable. Control: if want layout to be precise, use pixels. Hexadecimal representation: 0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f, must start with , need 2 digits for red, 2 digits for green, and 2 for blue. Use dark background with light text or light background with dark text. Don"t use too many fonts (2-3 diff styles) Set mood (pick font that goes with tone of your site.