아래 HTML/CSS는 최근 브라우저에서는 작동하지만 CF9의 cfdocument에서는 작동하지 않습니다. 아이디어가있는 사람은 누구입니까?ColdFusion cfdocument CSS 카운터 증가 카운터
무엇을 알고 있습니까? 예! CF의 cfdocument가 제한된 CSS 속성 집합을 지원한다는 것을 알고 있습니다. CF 설명서에 카운터 리셋, 카운터 증가 및 카운터가 지원된다고 나와 있습니다.
예상 출력
식료품 :
1) 사과
2) 바나나
3) Cantelopes
<cfdocument format="PDF" pagetype="letter"
margintop="0.5" marginbottom="0.5"
marginleft="0.5" marginright="0.5">
<html>
<head>
<style type="text/css">
li { list-style-type: none; }
ol { counter-reset: ordered;
padding-left: 0.5em;
border: solid 1px #F00;
}
li:before { counter-increment: ordered;
content: counter(ordered) ") ";
}
</style>
</head>
<body>
<strong>GROCERIES:</strong><br>
<ol>
<li>Apples</li>
<li>Bananas</li>
<li>Cantelopes</li>
</ol>
</body>
</html>
</cfdocument>
1 :
식료품 : 그것은 숫자 뒤에 소수점을 가지고있다 속성 목록 :) – Leigh
참조 : cfdocument 's 지원되는 CSS 속성 [link] (http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7c21.html) – ArdMan