我正在使用这个WordPress博客http://www.taranmarlowjewelry.com/?page_id=7(在正常的网页浏览器上看起来不错)我试图编辑CSS,所以它看起来不错,在iPhone上...我在我的iPhone CSS文件中添加这些行Iphone上的CSS Wordpress博客
.wrapper{
position:relative;
width:840px;
margin:0 auto;
}
.blog #page{
width:840px !important;
}
.blog #main{
width:840px !important;
}
.blog #primary {
width:220px !important;
}
.blog #content {
width: 220px !important;
}
.blog #secondary {
width:200px !important;
float:right !important;
}
但博客和侧边栏这个页面的宽度之间的巨大的空间过大,而我的家,大约页面好看在840px宽的.wrapper;
这里怎么回事?
哇这些都是很多'!important'关键字!尽量少用... – TheZ 2012-07-06 20:29:52
nope,没有做任何事情:(但谢谢TheZ – user979331 2012-07-06 20:34:57
这不是一个解决您的问题,只是对您的风格的评论。 – TheZ 2012-07-06 20:37:25