vspaceattribute is similar to the
hspaceand provides a bit of breathing space above and below an object, although it’s not exactly a precision design tool, as Figure 1 shows.
vspace attribute is set to
pixels around a left-aligned image object:
<object data="giant-dog.jpg" height="225" width="300" align="left" vspace="30"></object>
This attribute takes a number representing the amount of spacing to appear above and below the image in pixels.
Although support for this attribute is good, it’s now deprecated, and is highly presentational in its nature. The desired visual effects can all be achieved with CSS and, as such, this attribute shouldn’t be used—it’s presented here for informational purposes only.
There are no comments yet.