开发者

How to display a list of <article> the same cross-browser?

Firefox and Opera seem to put article开发者_运维技巧s after each other while Chrome gives a line break after each one. Which one is correct and how would you get them display the preferred style the same cross browser?

<html>
<body>

<article>
Item 1
</article>

<article>
Item 2
</article>

<article>
Item 3
</article>

<article>
Item 4
</article>

</body>
</html>

Opera 11.01

How to display a list of <article> the same cross-browser?

Chrome 9.0

How to display a list of <article> the same cross-browser?


You should set either display: inline or display:block in CSS. (whichever one you want)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜