考虑以下 html 布局。出于可访问性和其他一些原因,我希望菜单位于源代码的第三位。但显然菜单实际上应该出现在顶部,在文章之前。我有什么选择?(支持 IE8 及以上)
<html>
 <body>
  <article>The article ...</article>
  <aside>something aside</aside>
  <nav>the menu</nav>
 </body>
</html>
目前,我的同事非常不喜欢这样使用“显示:表”(http://jsfiddle.net/Dqzyj/):
<html>
 <body style="display:table;">
  <article style="display:table-row-group;">The article ...</article>
  <aside style="display:table-row-group;">something aside</aside>
  <nav style="display:table-header-group;">the menu</nav>
 </body>
</html>