HTML에서 table width attribute 에는 픽셀값(과 퍼센트)만 들어간다!!!








WIDTH Attribute | width Property








Sets or retrieves the width of the object.







Syntax
























HTML












<


ELEMENT





WIDTH



=


sWidth


... >








Scripting












[


sWidth

=



]



object



.



width











Possible Values



















sWidth










Integer



or



String



that specifies or receives one of the following values.






width








Integer that specifies the width of the object in


pixels


.






percentage








String that specifies an integer value followed by a %. The value is a percentage of the width of the parent object.







The property is read/write for all objects except the following, for which it is read-only:


FRAME


. The property has no default value.






DHTML expressions can be used in place of the preceding value(s). As of Internet Explorer 8, expressions are not supported in IE8 mode. For more information, see


About Dynamic Properties


.






출처:

http://msdn.microsoft.com/ko-kr/library/ms535147(en-us,VS.85).aspx






위에 MSDN을 참고하면... witdh attribute는 pixel 값만 들어가네요... 아무리 width="130mm" 라고 적어도 130px 로 인식하는 아스트랄한 현상... style로 width를 설정해야 한다네요...



망했다 ㅠ_ㅠ...


댓글

가장 많이 본 글