Attributes for <MARQUEE ...>
WIDTH = "width expression"
HEIGHT = integer

WIDTH and HEIGHT set the dimensions of the marquee. This code creates a marquee that is 200 wide and 50 tall:



Neither attribute is required. The default value for WIDTH is 100%. The height defaults to the natural height of content as it appears in the width. So, for example, this markup creates a marquee that is 200 wide and as tall as it needs to be:

Happy Halloween!<BR>
<IMG SRC="graphics/pumpkin.gif" HEIGHT=100 WIDTH=100 ALT="picture of a pumpkin">

Happy Halloween!
picture of a pumpkin

About the Author
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.