html5 - How to display a list of <article> the same cross-browser? -
firefox , opera seem put articles after each other while chrome gives line break after each one. 1 correct , how them display preferred style 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
chrome 9.0
you should set either display: inline
or display:block
in css. (whichever 1 want)
Comments
Post a Comment