0

I coded a website, and am currently in the process of re-coding it. On my contact page, I have a form for questions, comments, etc. On the original website, the page works fine - however on the recode, the form breaks the page. I was wondering if someone could help me figure out why.

Original page found here: http://path-to-truth.org/contact/

Recode found here: http://path-to-truth.org/Recode/contact/

4

1 回答 1

0

ul#nav你的 style.css 文件中有margin-right7%。当我删除它时,它看起来很正常。边距添加到导航的右侧。因为这使得块对于标题来说太大了,所以它向下移动。因为你也有float:right那个元素,所以它被放在h1.

另一种选择是删除float: right导航上的并放在float: left图像(或a标签)上。在您的底部div#header,插入(在 div 内)一个新的 divclear: both以将标题区域拉下。

于 2014-01-03T12:29:21.433 回答