Web Hosting Directory | Web Hosting Resources | Webmaster Resources | Domain Tools | Search Engine Marketing | Forums
  Signup
Today: 1,252   Yesterday: 949   Max: 2,773   Total: 530,282   Current Users : 18 (Member 0) 
DOMAIN TOOLS

WEBMASTER TOOLS

RELATED ARTICLES

SUBMIT AN ARTICLE

Write for us and get publicity, link to your website, and best of all get paid. Please visit our writers page for details.


LINK TO US

Link to us and earn points for each visitor you bring to us. Please visit our link partner page for details.

 

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.



Copyright 1997-2002 Idocs, Inc. Written by Miko Sullivan.

 
 
 
What is your major source of website traffic?
 
 
 
 
 
 

ADVERTISEMENT

 
Cheap Web HostingBudget Web HostingEcommerce Web Hosting
Link to UsLink ExchangeAdvertisePrivacy PolicyTerms Of ServiceAbout UsContact UsSitemap
Copyright © 2006 - 2009 Broadband Media, Inc. All rights reserved.