精通CSS - Andy Budd

精通CSS

Andy Budd

出版时间

2006-01-01

ISBN

9787115153166

评分

★★★★★
书籍介绍
本书将最有用的CSS技术汇总在一起,在介绍基本的CSS概念和最佳实践之后,讨论了核心的CSS技术,例如图像、链接、列表操纵、表单设计、数据表格设计以及纯CSS布局。每一章内容由浅入深,直到建立比较复杂的示例。之后本书用两章讨论招数、过滤器、bug和bug修复,最后由Simon Collison和Cameron Moll两位杰出的CSS设计人员,将书中讨论的许多技术组合起来,给出了两个实例研究。本书还集中介绍了现实的浏览器问题,是弥补CSS知识欠缺不可或缺的参考书。 本书适合具有(X)HTML和CSS基本知识的任何网页设计人员阅读。
AI导读
核心看点
  • 系统梳理CSS核心技术与最佳实践
  • 深入解析定位、浮动及布局原理
  • 提供实用的浏览器兼容解决方案
适合谁读
  • 具备HTML与CSS基础知识的开发者
  • 希望从表格布局转向标准布局的设计师
  • 寻求解决浏览器兼容问题的前端人员
读前提醒
  • 内容偏早,主要解决IE6时代兼容问题
  • 部分翻译生硬,建议结合代码理解
  • 适合配合现代CSS教程对比阅读
读者共识
  • 作为入门书基础讲解详细,实战性强
  • 书名‘精通’略显夸大,深度有限
  • 图灵系列中性价比极高,值得收藏

本导读基于书籍简介、目录、原文摘录、短评和书评生成,不等同于全文精读。

精彩摘录
  • "所有CSS布局的根本都是3个基本概念:定位、浮动、margin操纵。"
  • "在符合标准的浏览器中,如果元素的内容太大,它只会超出box之外。但是,IE会扩展整个元素(。。。-_-)"
  • "Meaningful markup provides the developer with several important benefits. Meaningful pages are much easier to work with than presentational ones. For example, say you need to change a quotation on a page. If the quotation is marked up correctly, it is easy to scan through the code until you find the"
  • "When naming your IDs and classes, it is important that you keep the names as “unpresentational” as possible. For instance, if you want all of your form notification messages to be red, you could give them a class of red. This is fine as long as there are no other red elements on the page. However, s"
  • "At the same time, they can be overused and even abused. Novice CSS authors often add classes to nearly everything in an attempt to get fine-grained control over their styles. Early WYSIWYG editors also had the tendency to add classes each time a style was applied. Many developers picked up this bad "
  • "In the preceding example, each element is identified as being part of a news story by using an individual news-related class name. This has been done to allow news headlines and text to be styled differently from the rest of the page. However, you don’t need all these extra classes to target each in"
  • "When browser manufacturers started to create standards-compliant browsers, they wanted to ensure backward compatibility. To accomplish this, they created two rendering modes: standards mode and quirks mode. In standards mode, the browser renders a page according to the specifications, and in quirks "
  • "With even a moderately complicated style sheet, it is likely that two or more rules will target the same element. CSS handles such conflicts through a process known as the cascade. The cascade works by assigning an importance to each rule. Author style sheets are those written by the site developers"
作者简介
Andy Budd国际顶尖的网页设计师,著名的Web标准倡导者。他是网页设计咨询公司Clearleft(www.clearleft.com)的创意总监,曾经组织了英国首届Web2.0会议。他在Web设计方面著述甚丰,除本书外,他还曾经撰写了一本Blog设计方面的图书。
用户评论
TP393.092/1382 一层东、四层
非常好的一本书,想学页面设计及CSS的朋友不能错过~
做CSS入门书很不错 基础讲得很详细。但其内容对于书名"精通"二字而言实在太浅
略老啦 ie6时代的css了
我的div制作启蒙书
时代变了,直接网上看最新标准吧。
有点过时?
入门精髓,虽然书很老,但是原理介绍的很清晰,易理解,很适合初学者
该讲的内容都讲了,就差自己去实践了。对了,书的内容很不错,不过翻译嘛,你懂的,需要自己去理解。
我看到的是第二版,虽然是10年的书,但是确实是本不错的书,讲了很多平时不怎么注意的技巧。推荐
收藏