Page 128 - DCAP408_WEB_PROGRAMMING
P. 128

Web Programming




                    Notes          4.6 Limitations of CSS

                                      Limited transcription capabilities
                                           Limited transposition of elements (float:left/right)

                                           Calls of parameterized formatting tasks the major transcription type supported
                                      In CSS1 context specification limited:
                                           No sibling or parent/child relationships
                                           Limited use of attributes (CSS1: only class)

                                           CSS2 more powerful,
                                                But no access to element’s children or content
                                                Unable to access targets of cross references (?)
                                      Non-programmable

                                           No decision structures
                                           Unable to store calculated quantities
                                           Non-extensible
                                           Relatively simple

                                           Western-language orientation (left-to-right)
                                           XSL allows unrestricted transformations of the document to precede a CSS-like
                                            formatting

                                   4.7 Advantages of CSS


                                      Workflow
                                           Faster downloads
                                           Streamlined site maintenance
                                           Global control of design attributes

                                           Precise control (Advanced)
                                                Positioning
                                                Fluid layouts
                                      Cost Savings

                                           Reduced Bandwidth Costs
                                                One style sheet called and cached
                                           Higher Search Engine Rankings
                                                Cleaner code is easier for search engines to index

                                                Greater density of indexable content
                                      Faster download = better usability
                                           Web usability redesign can




          122                               LOVELY PROFESSIONAL UNIVERSITY
   123   124   125   126   127   128   129   130   131   132   133