即使具有相同的CSS文件,CSS页面也不相等 [英] CSS pages not equal even with the same css-file
问题描述
这是我用作测试站点的站点: http://test.pafo.net/
This is the site i am using as a test site: http://test.pafo.net/
我的问题是,即使页数相等,它们的位置也会发生变化.如果单击Seite 2,然后单击开始"并继续单击它们,您将看到整个容器都在移动一点.
My problem is that the pages, even thou they are equal, they change in position. If you click on Seite 2 and then Start and keep clicking on them, you will see that the entire container is moving a little.
这些页面之间的唯一区别是Seite 2包含更多示例文本,
The only difference between those pages are that Seite 2 has more example text, nothing else.
是什么原因造成的?我是否忘记了样式表中某处的属性?
Whats causing this? Did i forget an attribute in the stylesheet somewhere?
推荐答案
Seite 2获取滚动条.这会改变页面尺寸.因为您的内容居中,所以它似乎移动到垂直滚动条宽度的左半部.
Seite 2 gets a scrollbar. That alters the page dimensions. Because your content is centered, it appears to move to the left half the width of the vertical scrollbar.
这篇关于即使具有相同的CSS文件,CSS页面也不相等的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!