比如行内元素(inline element):相邻元素之间横向排列,到最右端自动折行。比如
基于224个网页-相关网页
...平居中 对于块级元素(block),可以使用margin:0 auto来实现在父元素下面的水平居中。但是需要注意,该方法对于行内元素(inline或者inline-block)是无效的。下面看一个例子。
基于152个网页-相关网页
表2列出了所有行内元素及其用法的说明。
Table 2 contains the complete list of inline elements and explanations of their usage.
清单4显示了包围在相应行内元素中的清单1中的标记。
Listing 4 shows the markup of the examples in Table 1 enclosed in the appropriate inline elements.
翻译人员在使用CAT工具翻译时不会看到xml形式的行内元素。
Translators should not see the inline elements as XML when translating with a CAT tool.
应用推荐