Why does the HTML5 DOCTYPE mess with my padding?

前端 未结 8 1331
灰色年华
灰色年华 2021-01-31 16:25

I have an html5 page with a navbar. Completely scratch coded. I just recently added a doctype to the item, and now I’m getting extra space under my navbar. If I remove the docty

8条回答
  •  逝去的感伤
    2021-01-31 16:53

    Mate you have 2 stray

    tags in that page. On lines 32 and 34. Delete and retry. See if that fixes it.

提交回复
热议问题