Prev | Current Page 55 | Next

Craig Grannell

"The Essential Guide to CSS and HTML Web Design"


After all, if presentation is taken care of externally, you can often just replace the CSS
to provide your site with a totally new design.
Designers (and clients paying for their time) aren??™t the only ones to benefit from CSS.
Visitors will, too, in terms of faster download times, but also with regard to accessibility.
For instance, people with poor vision often use screen readers to surf the Web. If a site??™s
layout is composed of complex nested tables, it might visually make sense; however, the
underlying structure may not be logical. View the source of a document and look at the
order of the content. A screen reader reads from the top to the bottom of the code and
doesn??™t care what the page looks like in a visual web browser. Therefore, if the code compromises
the logical order of the content (as complex tables often do), the site is
compromised for all those using screen readers.
Accessibility is now very important in the field of web design. Legislation is regularly
passed to strongly encourage designers to make sites accessible for web users with disabilities.
It??™s likely that this trend will continue, encompassing just about everything except
personal web pages. (However, even personal websites shouldn??™t be inaccessible.)
The rules of CSS
Style sheets consist of a number of rules that define how various web page elements
should be displayed. Although sometimes bewildering to newcomers, CSS rules are simple
to break down.


Pages:
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67