Name
HSPACE, VSPACE — NN n/a IE 4 HTML n/a
Synopsis
HSPACE=”pixelCount"
VSPACE=”pixelCount"
Optional
Internet Explorer provides attributes for setting padding around a
MARQUEE
element. The HSPACE
attribute controls padding along the left and right edges (horizontal
padding), whereas the VSPACE
attribute controls
padding along the top and bottom edges (vertical padding). Adding
such padding provides an empty cushion around the
MARQUEE's
rectangle. As an alternate, you
can specify the various margin style sheet settings, especially if
you want to open space along only one edge.
Example
<MARQUEE BEHAVIOR="slide" DIRECTION="left" HEIGHT=20 WIDTH=200 HSPACE=10 VSPACE=15> ... </MARQUEE>
Value
Any positive integer.
Default
0
Object Model Reference
- IE
[window.]document.all.elementID.hspace
[window.]document.all.elementID.vspace
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.