Why use tables for a page with
3 elements? And why use
embed? You already used
object!
This List Apart article should fill you in on the difference between
embed and
object.
Here's your page recoded with Divs:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>AmeriSource Companies</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css" media="all">
* { border: 0; margin: 0; padding: 0; }
body {
background-color: #fff;
font-family: Verdana, Arial, Helvetica, sans-serif;
text-align: center;
}
img {
display: block;
height: 44px;
margin-top: 50px;
text-align: left;
width: 256px;
}
object {
margin: 0 auto;
}
div {
background: top url(images/black_bar1.gif) repeat-x;
color: #000;
font-size: 65%;
padding-top: 30px;
text-align: right;
width: 100%;
}
</style>
</head>
<body>
<img src="images/ameri.gif" alt="logo" />
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="950" height="300">
<param name="movie" value="hostFile.swf" />
<param name=quality value=high />
<embed src="hostFile.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="950px" height="300px"></embed>
</object>
<div> © 2005 AmeriSource Companies </div>
</body>
</html>
You'll have to excuse me not modifying your embed tags
, I haven't worked with Flash before (I'm dead-set against it
)