mso-number-format

-- CSS 2010. 11. 8. 11:38
336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
테이블 Cell(<td>)에 사용할 수 있는 mso-number-format style attribute입니다.

mso-number-format:"0"
           NO Decimals
mso-number-format:"0\.000"
           3 Decimals
mso-number-format:"\#\,\#\#0\.000"
           Comma with 3 dec
mso-number-format:"mm\/dd\/yy"
           Date7
mso-number-format:"mmmm\ d\,\ yyyy"
           Date9
mso-number-format:"m\/d\/yy\ h\:mm\ AM\/PM"
           D -T AMPM
mso-number-format:"Short Date"
           01/03/1998
mso-number-format:"Medium Date"
           01-mar-98
mso-number-format:"d\-mmm\-yyyy"
           01-mar-1998
mso-number-format:"Short Time"
           5:16
mso-number-format:"Medium Time"
           5:16 am
mso-number-format:"Long Time"
           5:16:21:00
mso-number-format:"Percent"
           Percent - two decimals
mso-number-format:"0%"
           Percent - no decimals
mso-number-format:"0\.E+00"
           Scientific Notation
mso-number-format:"\@"
           Text
mso-number-format:"\#\ ???\/???" 
           Fractions - up to 3 digits (312/943)
mso-number-format:"\-022£\-022\#\,\#\#0\.00"
           £12.76
mso-number-format:"\#\,\#\#0\.00_ \;\[Red\]\-\#\,\#\#0\.00"
           2 decimals, negative numbers in red and signed(1.56   -1.56)

[CSS style sheet]
td.accountnum
  {mso-number-format:\@}

[Attribute]
 <td class="accountnum">01070000<td>

출처 : http://www.xbass.kr/dorim/entry/HTML-to-Excel-mso-number-format-style-attribute

'-- CSS' 카테고리의 다른 글

useful color collection  (0) 2012.11.07
small-caps, first-letter, first-line  (0) 2012.09.03
font-family 글꼴 지정 시 주의사항  (0) 2012.08.20
Meta no-cache  (0) 2012.08.06
이메일 페이지와 CSS 스타일  (0) 2009.10.27
posted by 어린왕자악꿍