blob: de93d46543c94ebbb99fcad9e0b6bf4a0546f84f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
---
title: table.width
slug: Web/API/HTMLTableElement/width
tags:
- DOM
- Gecko
- Gecko DOM Reference
translation_of: Web/API/HTMLTableElement/width
---
<p>{{ ApiRef() }}</p>
<h3 id=".EC.9A.94.EC.95.BD" name=".EC.9A.94.EC.95.BD">요약</h3>
<p><b>width</b>는 바라는 테이블의 너비를 지정합니다.</p>
<h3 id=".EA.B5.AC.EB.AC.B8" name=".EA.B5.AC.EB.AC.B8">구문</h3>
<pre class="eval"><i>HTMLTableElement</i>.width =<i>width</i>;
var<i>width</i> =<i>HTMLTableElement</i>.width;
</pre>
<p><code><a class="external" href="http://www.w3.org/TR/1999/REC-html401-19991224/struct/tables.html#adef-width-TABLE">width</a></code>가 픽셀수나 퍼센트 값으로 너비를 나타내는 문자열인 곳.</p>
<h3 id=".EC.98.88.EC.A0.9C" name=".EC.98.88.EC.A0.9C">예제</h3>
<pre class="eval">mytable.width = "75%";
</pre>
<h3 id=".EC.8A.A4.ED.8E.99" name=".EC.8A.A4.ED.8E.99">스펙</h3>
<p>W3C DOM 2 HTML Specification <a class="external" href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-77447361">
<i>
HTMLTableElement</i>
.width</a></p>
<div class="noinclude">
</div>
<p>{{ languages( { "en": "en/DOM/table.width" } ) }}</p>
|