Summary


If there's one thing you should take away from this chapter, it's the importance of allowing the user to control the size of text on any given page. I've shared a strategy that's been successful for me, using keywords and percentages. But every Web site is different; each has its own requirements and circumstances. Ideally, you'll be able to enable that flexibility in your own projects as well.

Here are some important points to remember:

  • Understand that IE/Win users cannot resize text set with px.

  • Keywords offer a simple, easy-to-grasp method of sizing text that permits user resizing.

  • Percentages can make future updates or user-defined style sheets a quick and easy way to modify an entire site's text size with one CSS rule.

  • Using the keyword/percentage combination can still allow a certain level of precision when targeted at default browser settings.

And here's some good news: this initial chapter is probably the least interesting of the entire book but very necessary in order to set a solidno, flexiblefoundation for the examples that follow. What we'll be able to do next is assume that the user can scale the size of text on the page any way he or she desires. With that knowledge in hand, we'll get creative with CSS, rebuilding traditional design components with flexibility in mind. And off we go.



Bulletproof Web Design(c) Improving flexibility and protecting against worst-case scenarios with XHTML and CSS
Bulletproof Web Design(c) Improving flexibility and protecting against worst-case scenarios with XHTML and CSS
ISBN: N/A
EAN: N/A
Year: 2006
Pages: 97

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net