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 - 5 months
Under moderation.
Pharmg840 - 5 months
Very nice site!
Pharmg344 - 6 months

Powered by Linode.