HTML5 vs HTML4 - h1 tag rendered with extra space - how to remove?

前端 未结 5 1253
别那么骄傲
别那么骄傲 2021-01-04 22:07

I took a page whose DTD was HTML4 Transitional and changed the doctype to and extra space appeared between the h1 and div beneath it. I

5条回答
  •  悲哀的现实
    2021-01-04 22:21

    Have you applied a CSS reset http://meyerweb.com/eric/tools/css/reset/ to your css before you start applying any other css effects?

提交回复
热议问题