Offhand, it looks like you aren't closing your <object> block.

--Ben Doom

Mark Fuqua wrote:
> I'm using a template from freetemplates.com.  The css file seems quite well
> done.  I want to replace an image with a small flash movie.  I thought I
> would just eliminate the image, and embed the movie in the html page.
> However, when I just put the movie on the page, as is or  in between two
> <div> tags, it will display, but nothing on the page below it will.  Here is
> the code from the page with the swf:
> 
>  
> 
>   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
> 
> "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";>
> 
> <html>
> 
> <head>
> 
> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
> <meta name="description" content="description"/> <meta name="keywords"
> content="keywords"/> <meta name="author" content="author"/> <link
> rel="stylesheet" type="text/css" href="default.css"/> <title>Pyramid Home
> Works</title> 
> 
> </head>
> 
> <body>
> 
> <div class="main">
> 
>       <div class="gfx"><h1>Pyramid Homeworks</h1></div>
> 
>  
> 
>       <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
> 
> codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.
> 
> cab#version=8,0,0,0" width="766" height="250" id="pyramidHeader6"
> 
> align="middle">
> 
> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie"
> value="pyramidHeader6.swf" /><param name="quality"
> 
> value="high" /><param name="bgcolor" value="#141a27" /><embed
> src="pyramidHeader6.swf" quality="high" bgcolor="#141a27" width="766"
> 
> height="250" name="pyramidHeader6" align="middle"
> 
> allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
> 
> pluginspage="http://www.macromedia.com/go/getflashplayer"; />
> 
>  
> 
>       <div class="menu">
> 
>             <a href="index.html"><span>Home</span></a>
> 
>             <a href="index.html"><span>About Us</span></a>
> 
>             <a href="index.html"><span>Gallery</span></a>
> 
>             <a href="index.html"><span>Contact Us</span></a>
> 
>             <a href="login/LoginForm.cfm" id="last"><span>Customer Log
> In</span></a>
> 
>       </div>
> 
>       <div class="content">
> 
>             <div class="item">
> 
>  
> 
> ..page content continues.
> 
>  
> 
> It doesn't seem to matter whether the flash object is wrapped in div tags or
> not, everything below the movies goes away.  
> 
>  
> 
> If I could grow a brain real fast, what I'd really like to do is replace the
> image in the <div class ="gfx"> referenced on this page to the css template.
> The class on the css template looks like so:
> 
>  
> 
> /* Header */
> 
> ..gfx {
> 
>       background: #222 url(img/dark_pixel.jpg) no-repeat;
> 
>       height: 240px;
> 
>  
> 
>  
> 
> But, one way or the other, what I'd really like to do is get the swf to show
> along with the other content below it.
> 
>  
> 
> 
> Thanks,
> 
>  
> 
> Mark
> 
>  
> 
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:296746
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to