height (HTML attribute)
Example
The height
attribute set to "200":
<marquee height="200">Important!</marquee>
Description
The
height attribute does exactly what you would expect
it to - sets the height of the marquee element. Note
that when increasing the height of the marquee, the text inside the
marquee remains at the top; it is not centered
vertically.
Value
A number representing the height of the marquee in pixels or as a percentage.
Compatibility
| IE | 5.5 | Full |
|---|---|---|
| 6.0 | Full | |
| 7.0 | Full | |
| Firefox | 1.0 | None |
| 1.5 | None | |
| 2.0 | None | |
| Safari | 1.3 | Full |
| 2.0 | Full | |
| 3.0 | Full | |
| Opera | 9.2 | Full |
Generally well
supported (IE, Safari, Opera) but Firefox ignores the
height attribute
completely.
User-contributed notes
There are no comments yet.
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.

