English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
HTML object vspace Eigenschaft
Online-Beispiel5Oberer und unterer Abstand:
Beispiel <!DOCTYPE html> <html> <head> - <title>HTML:<object> vspace Eigenschaft3codebox.com)</title> </head> <body> <h4>Object ohne vspace:</h4> <p><object width="15" height="15" data="bookmark.swf"></object> Dies ist ein Text. Dies ist ein Text. Dies ist ein Text.</p> <h4>Object mit vspace:</h4> <p><object width="15" height="15" data="bookmark.swf" vspace="5"</object> </body> </html>Test it out ‹/›
IEFirefoxOperaChromeSafari
All major browsers support the vspace attribute.
HTML5 The <object> vspace attribute is not supported. Please use CSS instead.
In HTML 4.01 In it, the vspace property of <object> is deprecated.
The vspace property specifies the top and bottom spacing of the object.
In HTML 4.01 In it, the vspace property of <object> is deprecated. Please use CSS instead.
CSS syntax: <object style="margin: 100px 0px">
CSS Example: <object> with margin
In our CSS tutorial, you can find more about margin propertydetails.
<object vspace="pixels">
Value | Description |
---|---|
pixels | Top and bottom spacing of the object, in pixels. |