Text Links Ads : Marketing Tips Store : Search Engine Optimization Strategies
WebPosition Gold Pro : Domain Registration Bank : Optilink Software : GoDefy
Mike's Marketing Tools : Mike's Ecommerce Software : Text Links Guide
 
Web HTML-HTML.com
You are here: HTML Codes > Embedded Objects > <EMBED ...>

Attributes for <EMBED ...>
WIDTH ="width expression"
HEIGHT ="height expression"

For such a simple concept -- the height and width of the embedded object -- choosing values for the HEIGHT and WIDTH attributes can be quite a thorny problem. Unlike images such as GIF and JPEGs, embedded objects do not necessarily have an inherent dimensions. Different browsers render different media types differently, and make different decisions about what to do if the object isn't exactly the height they want. Unfortunately leaving out the HEIGHT and WIDTH attributes is not an option. They are required and we have run across a few plugins that give nasty error messages if these attributes are missing

For sounds, try HEIGHT and WIDTH. These are the Netscape's preferred sizes, and MSIE adjusts to them well. there are different preferred sizes if you use some of the odd controls Netscape allows. See CONTROLS for more details.

For movies, try setting HEIGHT to 30 pixels greater than the height of the movie, the WIDTH to just six greater:

this code produces this
<EMBED 
 SRC="../graphics/heart.avi"
HEIGHT=144 WIDTH=118
 >

For other types of plugins, check the documentation, and experiment with different dimensions on different browsers.

<EMBED ALIGN="..."> >>>

Copyright © 2002-8 Art Dacor USA LLC. All Rights Reserved.
3727 West Magnolia Blvd #489, Burbank, CA, 91505, USA.
www.HTML-HTML.com