Name

HSPACE, VSPACE — NN 2 IE 3 HTML n/a

Synopsis

HSPACE=pixelCount
                  
VSPACE=pixelCount
                  

Optional

Predating style sheet margins, the HSPACE and VSPACE attributes let you define a margin that acts as whitespace padding around the visual content of the EMBED element. HSPACE establishes a margin on the left and right sides of the rectangle; VSPACE establishes a margin on the top and bottom sides of the rectangle. This attribute appears to work in Navigator 4 but not in Internet Explorer 4. With these attributes not reflected as scriptable properties of an EMBED element, it is likely that these attributes are truly not supported in IE 4, Microsoft’s SDK notwithstanding.

Example

<EMBED SRC="soothing.aif" VSPACE=10 HSPACE=10></EMBED>

Value

Integer representing the number of pixels for the width of the margin on the relevant sides of the EMBED element’s rectangle.

Default

0

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.