边框(也译为边界)是可以具体显示出来的,可以设定宽度、外观样式和颜色。 补白(padding)。 补白(也译为填充、内边距、内补丁等)是内容框与边框之间的距离,补白部分显示的是背景。
基于132个网页-相关网页
例如,计算机可以测试文本等价物对图像是否可用,但不能测试文本的质量或者甚至确定文本是否是无意义补白。
For example, a machine can test whether a text equivalent is available for an image, but it cannot test the quality of the text or even determine whether the text is meaningless filler.
您不能简单地在 n 像素外添加组件;实际上,您必需为早先的组件添加 padding(补白)。
You can't just add the component n pixels over; you actually must add the padding to the edge of the earlier component.
对于我们要使用的所有XHTML元素选择器,将空白边和补白设置为零,从而防止浏览器应用默认样式,见清单3。
We chose to normalize all the XHTML element selectors we knew we wanted to use by setting the margin and padding to zero, as shown in Listing 3.
应用推荐