《CSS实战手册》(CSS: The Missing Manual)中文勘误列表

错误难免,有则改之,无则加勉!

此文专门用于译文勘误,我会及时更新这个列表,谢谢,请多指正!

[url=http://yulimin.iteye.com/blog/71162]关于翻译《CSS - The Missing Manual》术语表的讨论与建议[/url]

P25 第二段 第三行
原文:They also disallow a number of once-popular properties like a link's target property, which let you make a link open in a new window.

译文:它们也不接受一些曾经流行的属性,比如一个链接的[color=red]目标属性[/color]--让你在一个新窗口中打开链接。

修正:它们也不接受一些曾经流行的属性,比如一个链接的[color=red]target属性[/color]--让你在一个新窗口中打开链接。

说明:即 <a href="xxx" target="_blank"> target属性不需要译。

P107 第二段 第四行
原文:That is, a value of 1em means the same thing as a value of 100 percent as described in the previous section. You can even say it the opposite way: A percentage value is just an em multiplied by 100: .5em is 50 percent, .75em is 75 percent, 3em is 300 percent and so on.

译文:也就是说,1em的值等同于在前面讲过的100%。你甚至可以反过来说:[color=red]1%值只是1em除以100[/color]:.5em就是50%,.75em就是75%,3em就是300%等等。

修正:也就是说,1em的值等同于在前面讲过的100%。你甚至可以反过来说:[color=red]百分比的值即为em的值乘以100[/color]:.5em就是50%,.75em就是75%,3em就是300%等等。

说明:即:1em = 100%,1% = 1em / 100,这样:50 = 0.5em * 100 75 = .75em * 100 300 = 3em * 100

感谢:读者:loveisp 最新讨论:2007-10-4 17:42:21 于 http://www.china-pub.com/computers/common/info.asp?id=35422 提出
============================更新时间:2007年10月05日============================
P89 所有的 [color=red]importance [/color] 应当为 [color=red]important[/color]

P242
原文:9. Remove the top border and adjust the padding for the #mainNav a style, so it looks like this: ==> bottom border

译文:9. 去除[color=red]顶部[/color]边框,给#mainNav a样式调整padding,因此它看起来像这样:

修正:9. 去除[color=red]底部[/color]边框,给#mainNav a样式调整padding,因此它看起来像这样:

P243
原文:10. Add a top border to the ul#mainNav style so that it looks like this: ==> bottom border

译文:10. 添加一条[color=red]顶部[/color]边框给ul#mainNav样式,因此它看起来像这样:

修正:10. 添加一条[color=red]底部[/color]边框给ul#mainNav样式,因此它看起来像这样:

P326 相对
原文: Relative. A relatively positioned element is placed relative to its current position in the HTML flow. So, for example, setting a top value of 20 pixels and left value of 200 pixels on a relatively positioned headline moves that headline 20 pixels down and 200 pixels from the left from wherever it would normally appear.

译文:相对。一个相对定位的元素相对它在HTML流中的当前位置而放置。因此,例如在一个相对定位的标题上设定一个top值为20px和left值为200px,把这个标题向下移了20px,并从它正常应该显示的地方向[color=red]左[/color]移动了200px。

修正:相对。一个相对定位的元素相对它在HTML流中的当前位置而放置。因此,例如在一个相对定位的标题上设定一个top值为20px和left值为200px,把这个标题向下移了20px,并从它正常应该显示的地方向[color=red]右[/color]移动了200px。

感谢:读者:soni 最后更新:2007-10-09 08:49 于 http://yulimin.iteye.com/blog/post/390300 提出
============================更新时间:2007年10月09日============================
P284 相对
原文: Avoid setting a width for the main content div. It's not necessary, since browsers simply expand it to fit the available space.

译文:[color=red]没有必要去避免给[/color]main content的div设计宽度,因为浏览器只要扩大到适合现有的空间。

修正:[color=red]没有必要去给[/color]main content的div设计宽度,因为浏览器只要扩大到适合现有的空间。

感谢:读者:fyting 最后更新:2007-10-13 23:28 于 http://yulimin.iteye.com/blog/post/393627 提出
============================更新时间:2007年10月09日============================
修正:P106,倒数第二行第二句多了一个“[color=red]在[/color]”字

修正:P114,中间段落“在这个例子中,不把[color=red]50%[/color]的.....",漏掉了1字,应当是[color=red]150%[/color]

修正:P309,第一行的第8个字“[color=red]外[/color]”和第二行的第2个字“[color=red]外[/color]”应当修改为“[color=red]内[/color]”。

P285 最后一自然段第二句
原文:When you float all columns in a design, you need to pay close attention to the widths of each column. If the total width of all the columns is [color=red]less than[/color] the space available-for example, if the browser window is smaller, or the columns are placed inside another <div> with a set width-then the last column drops down, below the others.
译文:如果所有列的宽度比可用空间[color=red]小[/color]
修正:如果所有列的宽度比可用空间[color=red]大[/color]
说明:只有当所有列的宽度大于容器的宽度时,列才会下落,原文有误,我的错,翻译时没有发现,思过中。。。

修正:P286 第四自然段

原文:In the top-left diagram in Figure 11-6, the main content's HTML is between the left and right sidebars, which is better than having it after both sidebars. You can even put the main content before both sidebars' HTML by wrapping the main content and left sidebar in one <div>, floating that <div> left, and then floating the main content right and the left sidebar [color=red]right[/color] within that <div> (Figure 11-6, bottom). Voilàthe main column's HTML falls before the other <div> tags.
译文:然后浮动这个<div>里面的main content和left sidebar到右边
修正:然后浮动这个<div>里面的main content到右边,浮动left sidebar到左边
说明:原文有误,left sidebar不是向[color=red]right[/color]移,应当是[color=red]left[/color],我的错,翻译时没有发现,思过中。。。

感谢:读者:初学CSS 最后更新:最后更新: 2007-11-08 17:58 于 http://yulimin.iteye.com/blog/post/409199 提出
============================更新时间:2007年11月08日============================
P137,图7-3,第2段第2句
原文:To get the full 35 pixels' worth of space that you want, use padding instead of margins, as shown in the bottom headline. Here, the heading has 20 pixels of [color=red]bottom[/color] padding. Those 20 pixels get added to the 15-pixel [color=red]top[/color] margin of the paragraph to form a 35-pixel gap.

译文:此处,标题有20px的[color=red]上[/color]方填充。把20px加到段落中15px的[color=red]下[/color]方填充就形成了一个35px的间隙。
修正:此处,标题有20px的[color=red]下[/color]方填充。把20px加到段落中15px的[color=red]上[/color]方填充就形成了一个35px的间隙。

P151,最后一自然段第2句
译文:以及10px的[color=red]右[/color]border宽(左右两条边框)
修正:以及10px的border宽(左右两条边框)。
说明:[color=red]右[/color]为多余的,删除之。

P190,第一行
原文:3. 添加一个[color=red]外[/color]部样式表。
修正:3. 添加一个[color=red]内[/color]部样式表。

P201,倒数第6行
原文:ackground-image
修正:[color=red]b[/color]ackground-image

感谢:读者:初学CSS 最后更新:2007-11-08 19:38 于 http://yulimin.iteye.com/blog/post/409226 提出
============================更新时间:2007年11月08日============================
P109,正文第8行:
原文:或者确保文本为非斜体,像这样:
font-weight:normal;
修正:font-style:normal;

感谢:读者:mmiwwcom 最后更新:2007-11-21 17:53 于 http://yulimin.iteye.com/blog/post/416465 提出
============================更新时间:2007年11月26日============================
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值