start page | rating of books | rating of authors | reviews | copyrights

JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next
 

Image.height Property

Name

Image.height Property---the height of an image

Availability

Navigator 3.0

Synopsis

image.height

Description

The height property of the Image object is a read-only integer that specifies the height of image. It is set by the HEIGHT attribute of the <IMG> HTML tag.

The HEIGHT attribute is optional in HTML, but including it greatly improves the layout time of your pages. Also, because of a bug, in Navigator 2.0 all images in a page that contains JavaScript must have WIDTH and HEIGHT attributes specified (even though the Image object is not available in 2.0).

See Also

"Image"


Previous Home Next
Image.complete Book Index Image.hspace

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell