Bulletproof Web Design: Improving flexibility and protecting against worstcase scenarios with XHTML and CSS [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Bulletproof Web Design: Improving flexibility and protecting against worstcase scenarios with XHTML and CSS [Electronic resources] - نسخه متنی

Dan Cederholm

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید











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.


/ 96