Page 98 - DCAP408_WEB_PROGRAMMING
P. 98

Web Programming




                    Notes
                                          Example:

                                   P  {font:  12pt/14pt  sans-serif}
                                   P  {font:  80%  sans-serif}
                                   P  {font:  x-large/110%  “new  century  schoolbook”,  serif}
                                   P  {font:  bold  italic  large  Palatino,  serif}
                                   P  {font:  normal  small-caps  120%/120%  fantasy}
                                   4.4.2 Text  Properties

                                   These properties control the visual  appearance and presentation of text content (characters,
                                   words, blocks and the spacing between them.) Some of the special physical formatting effects
                                   from HTML have found their home in the Text properties.

                                                                       TEXT
                                        color             Color
                                        direction         Itr | rtl
                                        letter-spacing    normal length
                                        text-align        left | right | center | justify
                                        text-decoration   none | underline | overline | line-through | blink
                                                          length
                                        text-indent
                                                          %
                                                          none
                                        text-shadow       color
                                                          length
                                        text-transform    none | capitalize | uppercase | lowercase
                                        unicode-bidi      normal | embed | bidi-override
                                        white-space       normal | pre | nowrap
                                                          normal
                                        word-spacing
                                                          length


                                          Example:
                                   H1  {word-spacing:  1em}
                                   BLOCKQUOTE  {letter-spacing:  0.1em}
                                   BLOCKQUOTE  {letter-spacing:  0}
                                   BLOCKQUOTE  {letter-spacing:  0cm}
                                   A:link,  A:visited,  A:active  {text-decoration:  underline}
                                   H1  {text-transform:  uppercase}
                                   DIV.center  {text-align:  center}
                                   P  {text-indent:  3em}
                                   DIV  {line-height:  1.2;  font-size:  10pt}          /*  number  */
                                   DIV  {line-height:  1.2em;  font-size:  10pt}      /*  length  */
                                   DIV  {line-height:  120%;  font-size:  10pt}        /*  percentage  */



          92                                LOVELY PROFESSIONAL UNIVERSITY
   93   94   95   96   97   98   99   100   101   102   103