作者Abalamindo (公馆手枪营营长)
看板Blog
标题[Blogger] 网志存档(blog archive)左边吃字问题
时间Sun Mar 1 12:16:47 2015
这是别人丢给我的问题
他坚持不让我看他的网志 所以很抱歉没办法提供网址...
据他的说法 他使用内建的阶层式Archive时
原本
▼2015
▼一月
第一篇文章
第二篇文章
会变成
2015
一月
一篇文章
二篇文章
好像每一行的左边都会被吃掉一个全型
而且只有Archive有这个问题
其他侧边栏位(sidebar)都正常
我叫他插入
.BlogArchive
#ArchiveList ul li {text-align:center; }
让Archive置中就能看到被吃掉的字
或者将Archive从侧边移到顶端或底端也能恢复正常
所以应该是被侧边栏位定义的某条css遮住?
请问这可能是什麽问题呢?
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 220.137.13.79
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Blog/M.1425183410.A.B8A.html
1F:→ likangrace: 可能原因你不是说了吗?XDDD 但没有实际的网页或所套 03/01 15:49
2F:→ likangrace: 用的范本(前提是未变更过)不大能说是那一条规则影响, 03/01 15:51
3F:→ likangrace: 现能确认的是非blogspot本身的问题就是了… 03/01 15:52
我实在找不出为什麽只有Archive会出问题...
下面附上他的范本里跟sidebar有关的部分
看起来应该是网路找的范本
/*==///////////////////////////////////////////
// Wrappers Style //
/////////////////////////////////////////==*/
.ct-wrapper { padding: 0px 0px; position: relative; max-width: 1200px;
margin: 0 auto; }
.outer-wrapper { margin: 25px 0; position: relative; }
.header-wrapper { display: inline-block; float: left; width: 100%; }
.main-wrapper { width:auto; margin-right: 370px; }
#content { position: relative; width: 100%; float: left; }
.sidebar-wrapper { width:340px; float: right; }
/**** Layout Styling CSS *****/
body#layout .header-wrapper { margin-top: 40px; }
body#layout .outer-wrapper, body#layout .sidebar-wrapper, body#layout
.ct-wrapper { margin: 0; padding: 0; }
body#layout #About { width: 100%; }
/*==///////////////////////////////////////////
// SideBar Stying Css //
/////////////////////////////////////////==*/
.sidebar { margin: 0; padding: 0; display: block; }
.sidebar h2 {
display: inherit;
font-size: 20px;
margin-bottom: 10px;
padding-bottom: 5px;
position: relative;
text-align: center;
text-transform: capitalize;
}
.sidebar .widget { background: #fff; padding: 25px 20px; clear: both;
font-size: 13px; line-height: 23px; margin-bottom: 30px; }
.sidebar ul { margin: 0; padding: 0; list-style: none; }
.BlogArchive
#ArchiveList ul li {text-align:left; margin-left: 10px}
.sidebar li {
border-bottom: 1px solid #F1f4f9;
line-height: normal;
list-style: none !important;
margin: 8px 0;
overflow: hidden;
padding: 0 0 10px 0px !important;
}
关於sidebar定义的就这些了
请问究竟是哪里有问题呢?
※ 编辑: Abalamindo (220.137.13.79), 03/01/2015 18:08:27
4F:推 baliman: 不能直接用浏览器抓BUG 大家都懒的试吧XD 03/03 14:38