javascript MARQUEE hspace, vspace
@March 15, 2008, 1:22 a.m.
hspace, vspace | Firefox/Netscape/NN n/a IE 4 Chrome/Safari/DOM n/a |
Read/Write | |
Provide the pixel measure of horizontal and vertical margins surrounding the element. The hspace property affects the left and right edges of the element equally; the vspace affects the top and bottom edges of the element equally. These margins are not the same as margins set by style sheets, but they have the same visual effect. |
|
Example | |
document.getElementById("myBanner").hspace = 5; document.getElementById("myBanner").vspace = 8; |
|
Value | |
Integer of pixel count. |
|
Default | |
0 |
Permanent URL:
http://javascript.gakaa.com/marquee-hspace-2-0-vspace.aspx
Powered by Linode.