|
楼主 |
发表于 2020-4-30 21:47:30
|
显示全部楼层
首先先谢谢你们了,但是我调试了好久还是没有解决,可以麻烦你们再帮忙看看吗? 谢谢你们了。 @blink @流河旱树
我修改了css/framework.css, 其中 width:auto; margin:auto; 是我添加的。 - html { font-family: sans-serif; /* 1 */ -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ width: auto; margin: auto; }
- body { margin: 0 auto; width: auto; }
- .clearfix:after { content: "\00A0"; display: block; width: auto; margin: auto; clear: both; visibility: hidden; line-height: 0; height: 0;}
- html[xmlns] .clearfix { display: block; width: auto; margin: auto;}
- .clearfix { display: block; width: auto; margin: auto; }
- html { font-size: 16px; font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; }
- /* 这一行还没有修改 */
复制代码
接着我修改了style.css,其中 width:auto; margin:auto; 是我添加的。
- /* Main Content Background Color */
- #main-content {
- background: #f6f6f6;
- padding-top: 1px;
- margin-top: 0px;
- margin: auto;
- width: auto;
- .article-container article p {
- /* float: left; */
- margin: auto; /* */
- font-family: "Titillium Web", sans-serif;
- color: #515151;
- font-size: 0.983em;
- line-height: 1.3;
- margin-top: 3px;
- word-wrap: break-word; /*这个是添加的 */
- overflow-wrap: break-word; /*这个是添加的 */
- }
- }
复制代码
|
|