Javascript Reference
Categories: TD

javascript TD height, width

@March 15, 2008, 1:22 a.m.
height, widthFirefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1  

Read/Write  

Specify the height and width of the element. Changes to these values are immediately reflected in reflowed content on the page. These properties are read-only in the Macintosh version of Internet Explorer 4.

 
Example
 
document.getElementById("myTD").height = "250";
 
Value

Pixel integer count (as a string) or a percentage.

 
Default

None.

Very nice site!
Pharma495 - 2014-06-09
Under moderation.
Pharmg840 - 2014-06-09
Very nice site!
Pharmg344 - 2014-06-08

Powered by Linode.