August 1999
Intermediate to advanced
1488 pages
72h 53m
English
image.vspace
The vspace property of the Image object specifies the number of extra pixels that should appear on the top and bottom of the image. This property can only be set by the VSPACE attribute of the <img> tag.
Listing 7.316 demonstrates the vspace property.
<html> <head> <title>Example of vspace property</title> </head> Text at top of image.<br> <img name="circle" src="circle.gif" VSPACE=100><br> Text at bottom of image.<br> <script language="JavaScript"> <!-- Hide //Display value of vspace property document.write("The vspace property of the image is "); document.write(document.circle.vspace); ... |
Read now
Unlock full access