网站对齐问题
My site was all fine and properly aligned until recently. Only sometime back I integrated the thickbox onload. Since then the alignment of that particular page has gone haywire. Please help me out.
Please go through the link for your reference
The other pages are fine but the homepage is distorted. Please advise.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
你把厚盒CSS放在你的CSS后面。
thcickbox css 中的第一行:
您的
#main
div 居中方式如何:由于使用了thickbox CSS,
margin: 0 auto
方法被取消。2个解决方案:
正如 @livetolearn 所说,您用来居中的方法使用
width
效果更好。另一方面,你的 CSS 是高度可优化的。
例如,
=
You put the thickbox CSS after yours.
first line in the thcickbox css :
How's your
#main
div is centered :The
margin: 0 auto
method is canceled because of the thickbox CSS.2 solutions :
As @livetolearn said, the method you used to center is better with a
width
.On another point, your CSS is highly optimisable.
For example,
=
在你的css文件中替换这段代码
in your css file replace this code
从我所在的地方看起来还不错。
然而在 FF 中页面并不居中。这是问题所在吗?
添加:
您在 IE 中确实遇到脚本错误
有“alerrt”拼写错误吗?
Looks ok from where I am.
In FF however the page is not centered. Is that the issue?
Add:
You do get a script error in IE
Poss "alerrt" spelling mistake?
这些行位于 Thickbox.css 中,但未正确覆盖。这可能是原因
These lines were in thickbox.css and they were not properly overwritten. That may be the cause