Name

HSPACE, VSPACE — NN n/a IE 4 HTML n/a

Synopsis

HSPACE=”pixelCount"
VSPACE=”pixelCount"

Optional

Sets padding around an IFRAME element within content flow. The HSPACE attribute controls padding along the left and right edges (horizontal padding), and the VSPACE attribute controls padding along the top and bottom edges (vertical padding). Adding such padding provides an empty cushion around the frame. As an alternate, you can specify the various margin style sheet settings, especially if you want to open space along only one edge.

Example

<IFRAME SRC="nav.html" HSPACE=20 VSPACE=10>

Value

Any positive integer.

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.