을 alot을?
::before
을이 클래스로 이동하십시오.
.comment-header::before {
content: counter(countcomments,decimal);
counter-increment: countcomments;
float: right;
font-size: 11px;
color: #B4B4B7;
text-align: inherit;
z-index: 2;
padding-left: 5px;
}
이 방법은 요소 흐름을 유지하면서 달성하려는 최선의 방법입니다.
또는
당신은 리튬 (기존 클래스에 이러한 특성을 추가)에 그것을 유지하려면 ----
;
// This is your LI class
.comment {
position: relative;
}
// Your counter
.comment-thread li:before {
position: absolute;
right: 5px;
top: 10px;
}
// Your city/date comment header
.comments .comments-content .comment-header {
padding-right: 15px;
}
편집 ---
변경이;
.comment-thread li:before {
content: counter(countcomments,decimal);
counter-increment: countcomments;
float: right;
font-size: 11px;
color: #B4B4B7;
text-align: inherit;
z-index: 2;
position: relative;
}
여기까지;
.comment-header:before {
content: counter(countcomments,decimal);
counter-increment: countcomments;
float: right;
font-size: 11px;
color: #B4B4B7;
text-align: inherit;
z-index: 2;
padding-left: 5px;
}
감사합니다,하지만 어떻게 이동시킬 수 있습니다 : 전에 블로거/blogspot에서 리튬? 이것이 가능한지 아닌지 그리고 어떻게 이것을 할 수 있습니까? 어쩌면 blogspot을 가진 사람이 나를 도울 수 있습니까? –
당신은 CSS에 대한 권리가 있습니까? 나는 당신이 css – Mark