开发者

Website moves when going to a different page

my website http://www.oblivionro.net/ has a problem where it moves down a bit when visiting a different page. For instance, when visiting the "Rules" page from the main website, the container "moves" down a bit.

Anyone 开发者_运维问答know what might be causing this? I can't seem to isolate the problem.


Believe it or not..

..the problem is that the homepage has this in a different place to where the "Rules" page does:

    <p>
      <!--<strong>Powered by Flux Control Panel ... -->
    </p>
    <p>
      <!--Page generated in <strong>0.3699</strong> ... -->
    </p>

Even though that's near the end of your page, it's causing the problem - specifically: the margin-top on those p elements is. Welcome to the wonders of collapsing margins.

The simplest way to fix this is to remove the <p> tags that wrap the comments.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜