| Depr. | Version |
|---|---|
| No | N/A |
| IE5.5+ | FF3+ | SA1.3+ | OP10 | CH2+ |
|---|---|---|---|---|
| Full | Full | Full | None | Full |
Syntax
hspace="surrounding horizontal space in pixels"
Description
Thehspace
attribute is similar to the vspace and provides a bit
of ‘breathing space’ to the left and right of the
marquee text. Note that it is not possible to set
different values for left and right sides.Example
The hspace
attribute set to "50" pixels :
<p><marquee hspace="50">This marquee text demands more room</marquee></p>
Value
A number representing the amount of spacing to the left and right of the marquee in pixels.
Compatibility
| Internet Explorer | Firefox | Safari | Opera | Chrome | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 5.5 | 6.0 | 7.0 | 8.0 | 1.0 | 1.5 | 2.0 | 3.0 | 3.5 | 1.3 | 2.0 | 3.1 | 4.0 | 9.2 | 9.5 | 10.0 | 2.0 |
| Full | Full | Full | Full | None | None | None | Full | Full | Full | Full | Full | Full | None | None | None | Full |
Mixed compatibility on this attribute (see chart for details), with Firefox somewhat strangely adding support for it from version 3 onwards.
User-contributed notes
Add a note
To post a note on this topic, please log in with your SitePoint username and password. If you don't have an account yet, you can create a new account for free.