|
Web site design has grown up. Unlike the old days, when designers cobbled together chunky HTML, bandwidth-hogging graphics, and a prayer to make their sites look good, Cascading Style Sheets (CSS) now lets your inner designer come out and play. But CSS isn't just a tool to pretty up your site; it's a reliable method for handling all kinds of presentation--from fonts and colors to page layout. CSS: The Missing Manual clearly explains this powerful design language and how you can use it to build sparklingly new Web sites or refurbish old sites that are ready for an upgrade.
Like their counterparts in print page-layout programs, style sheets allow designers to apply typographic styles, graphic enhancements, and precise layout instructions to elements on a Web page. Unfortunately, due to CSS's complexity and the many challenges of building pages that work in all Web browsers, most Web authors treat CSS as a kind of window-dressing to spruce up the appearance of their sites. Integrating CSS with a site's underlying HTML is hard work, and often frustratingly complicated. As a result many of the most powerful features of CSS are left untapped. With this book, beginners and Web-building veterans alike can learn how to navigate the ins-and-outs of CSS and take complete control over their Web pages' appearance.
Author David McFarland (the bestselling author of O'Reilly's Dreamweaver: The Missing Manual) combines crystal-clear explanations, real-world examples, a dash of humor, and dozens of step-by-step tutorials to show you ways to design sites with CSS that work consistently across browsers. You'll learn how t
Create HTML that's simpler, uses less code, is search-engine friendly, and works well with CSS
Style text by changing fonts, colors, font sizes, and adding borders
Turn simple HTML links into complex and attractive navigation bars-complete with CSS-only rollover effects that add interactivity to your Web pages
Style images to create effective photo galleries and special effects like CSS-based drop shadows
Make HTML forms look great without a lot of messy HTML
Overcome the most hair-pulling browser bugs so your Web pages work consistently from browser to browser
Create complex layouts using CSS, including multi-column designs that don't require using old techniques like HTML tables
Style Web pages for printing
Unlike competing books, this Missing Manual doesn't assume that everyone in the world only surfs the Web with Microsoft's Internet Explorer; our book provides support for all major Web browsers and is one of the first books to thoroughly document the newly expanded CSS support in IE7, currently in beta release.
Want to learn how to turn humdrum Web sites into destinations that will capture viewers and keep them longer? Pick up CSS: The Missing Manual and learn the real magic of this tool.
本书荣获第17届Jolt Award(震撼大奖)生产效率奖 ! 本书从行业发展的角度出发,深入细致地讲述了如何制作出优秀的网页,以及规范中隐含的技巧。本书深入浅出地讲述了如何换位思考HTML的结构,如何规范使用样式表的各种功能,如何整体规划网页布局和感受用户体验。本书最好地体现了“细节决定成败”的原则。 阅读本书,希望读者不仅能了解到制作优秀网页的方法,而且能培养“探索无止境,学习无尽期”的创新和开拓精神。
内容简介 本书主要介绍了CSS这种强大的设计语言的方方面面,意在使读者能更快速且更专业地从事网站设计和开发工作。本书内容丰富全面、通俗易懂,实战性强,涵盖了CSS的选择器、继承、层叠、格式化、网站导航、浮动布局等技术。每章内容都由易到难,一步一步地建立起一个完整的教程示例,既适合刚刚接触CSS的读者阅读并亲自动手实践,又可以作为网页设计人员,以及CSS专家们的参考书。 |