Replacing the Flash with a Gif Banner

In the code below I would like to REPLACE the Flash with a GIF that that will stretch across the site. How can I do that?
<tr>
	<td>&nbsp;</td>
	<td colspan="5">
		<table width="975" cellpadding="0" cellspacing="0" border="0" align="center">
		<!--
		<tr>
			<td colspan="3" bgcolor="#E92727" height="6"><img src="images/spacer.gif" border="0" width="1" height="1"></td>
		</tr>
		<tr>
			<td colspan="3" background="images/bg_topblue.gif" height="54">
			
				<table cellpadding="0" cellspacing="0" border="0" class="normal_12_black">
				<tr>
					<td width="500"><img src="images/logo.gif" width="356" height="24"></td>
					<td width="250">
 
						<form action="site_search.php" method="get" style="margin:0px">
						<table cellpadding="2" cellspacing="0" border="0" class="normal_12_black">
						<tr>
							<td valign="middle"><strong>FIND BUSINESS</strong></td>
							<td valign="middle"><input type="text" name="search_keyword" value="" style="width:120px" class="textbox"></td>
							<td valign="middle"><input type="image" src="images/icon_search.gif" vspace="2"></td>
						</tr>
						</table>
						</form>
 
					</td>
					<td width="230" align="right">
						<font class="normal_12_blue_verdana"><strong>Best Business Directory</strong></font><br>
					</td>
					<td width="20"><img src="images/spacer.gif" border="0" width="1" height="1"></td>
				</tr>
				</table>
 
			</td>
		</tr>
		-->
		<tr>
			<td colspan="3" bgcolor="#FFFFFF" height="3"><img src="images/spacer.gif" border="0" width="1" height="1"></td>
		</tr>
		<tr>
			<td colspan="3">
 
				<table width="100%" cellpadding="0" cellspacing="0" border="0">
				<tr>
					<td>
						<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="980" height="240" id="flash" align="middle">
						<param name="allowScriptAccess" value="sameDomain" />
						<param name="movie" value="images/flash.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />
						<embed src="images/flash.swf" quality="high" bgcolor="#ffffff" width="980" height="240" name="flash" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
						</object>
					</td>
				</tr>
				</table>
 
			</td>
		</tr>
		<tr>
			<td colspan="5" bgcolor="#FFFFFF" height="3"><img src="images/spacer.gif" border="0" width="1" height="1"></td>
		</tr>
		<tr>
			<td colspan="3">
				
				<table width="100%" cellspacing="0" cellpadding="0">
				<tr>
					<td width="1%" align="left"><img src="images/nav_left.gif" width="20" height="37"></td>
					<td width="100%" background="images/nav_bg_blue.gif">
 
						<table cellspacing="0" cellpadding="0" class="normal_12_white_verdana">
						<tr>
 
							<td><img src="images/nav_divider.gif" width="2" height="37"></td>
							<td width="100" align="center" class="{$nav_class_home}" onclick="location.href='index.php'">
								<a href="index.php" class="normal_12_white_verdana"><strong>Home</strong></a>
							</td>
 
							<td><img src="images/nav_divider.gif" width="2" height="37"></td>
							<td width="100" align="center" class="{$nav_class_about}" onclick="location.href='site_about.php'">
								<a href="site_page_about.php" class="normal_12_white_verdana"><strong>About Us</strong></a>
							</td>
 
							<td><img src="images/nav_divider.gif" width="2" height="37"></td>
							<td width="100" align="center" class="{$nav_class_resources}" onclick="location.href='site_resources.php'">
								<a href="site_resources.php" class="normal_12_white_verdana"><strong>Resources</strong></a>
							</td>
 
							<td><img src="images/nav_divider.gif" width="2" height="37"></td>
							<td width="150" align="center" class="{$nav_class_account}" onclick="location.href='member_login.php'">
								<a href="member_login.php" class="normal_12_white_verdana"><strong>My Account</strong></a>
							</td>
 
							<td><img src="images/nav_divider.gif" width="2" height="37"></td>
							<td width="100" align="center" class="{$nav_class_register}" onclick="location.href='member_register.php'">
								<a href="member_register.php" class="normal_12_white_verdana"><strong>Register</strong></a>
							</td>
 
							<td><img src="images/nav_divider.gif" width="2" height="37"></td>
							<td width="100" align="center" class="{$nav_class_contact}" onclick="location.href='site_contact.php'">
								<a href="site_page_contact.php" class="normal_12_white_verdana"><strong>Contact Us</strong></a>
							</td>
 
							<td><img src="images/nav_divider.gif" width="2" height="37"></td>
							<td width="150" align="center" class="{$nav_class_terms}" onclick="location.href='site_terms.php'">
								<a href="site_page_terms.php" class="normal_12_white_verdana"><strong>Terms of Use</strong></a>
							</td>
 
							<td><img src="images/nav_divider.gif" width="2" height="37"></td>
							
						</tr>
						</table>
 
					</td>
					<td width="1%" align="right"><img src="images/nav_right.gif" width="20" height="37"></td>
				</tr>
				</table>
				
			</td>
		</tr>
		<tr>
			<td colspan="2" bgcolor="#FFFFFF" height="3"><img src="images/spacer.gif" border="0" width="1" height="1"></td>
		</tr>
		<tr>
			<td width="1%" valign="top"><img src="images/search_left.gif" width="12" height="48"></td>
			<td width="100%" height="60" background="images/search_hor.gif" style="background-repeat:repeat-x;">
			
				{if $clogin_member != ""}
				<table width="100%" cellpadding="0" cellspacing="0" border="0" class="normal_12_black">
				<tr>
					<td>
 
						<table cellpadding="2" cellspacing="0" border="0" class="normal_12_black">
						<tr>
							<td valign="middle"><strong>MY ACCOUNT : </strong></td>
							<td valign="middle"><a href="member_profile.php" class="normal_12_red">My Profile</a></td>
							<td valign="middle"> | </td>
							{if $clogin_member_type == "agent"}
							<td valign="middle"><a href="member_subscription.php" class="normal_12_red">My Subscription</a></td>
							<td valign="middle"> | </td>
							{/if}
							<td valign="middle"><a href="member_listing.php" class="normal_12_red">My Property Listings</a></td>
							<td valign="middle"> | </td>
							<td valign="middle"><a href="member_favourite.php" class="normal_12_red">My Favourite Listings</a></td>
							<td valign="middle"> | </td>
							<td valign="middle"><a href="system_member_logout.php" class="normal_12_red">Logout</a></td>
						</tr>
						</table>
					
					</td>
					<td align="right" class="normal_12_blue_verdana"><strong>Welcome, <u>{$clogin_member_firstname} {$clogin_member_lastname}</u>!</strong></td>
				</tr>
				</table>
				{else}
				<img src="images/spacer.gif" border="0" width="956" height="1">
				{/if}
 
			</td>
			<td width="1%" valign="top"><img src="images/search_right.gif" width="12" height="48"></td>
		</tr>
		</table>
	</td>
	<td>&nbsp;</td>
</tr>

Open in new window

Starquest321Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hedley PhillipsOwnerCommented:
Just remove the object tag (lines 47-51) and add an image 980 pixels wide  instead

0
Starquest321Author Commented:
What would be the code I use? Can you post that line?
0
Hedley PhillipsOwnerCommented:
So,

take out:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="980" height="240" id="flash" align="middle">
                                                <param name="allowScriptAccess" value="sameDomain" />
                                                <param name="movie" value="images/flash.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />
                                                <embed src="images/flash.swf" quality="high" bgcolor="#ffffff" width="980" height="240" name="flash" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
                                                </object>


and replace with:

<img src="image_name.extension" width="980" height="240">
0
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

Starquest321Author Commented:
Thank you so much - another quick question: When I define the width, height does the system simply stretch an image to be that way? Meaning I can use any image the system will make it that size?
0
Hedley PhillipsOwnerCommented:
Yes, you can use any image size and the system will stretch the image to fit the dimensions you have specified.

If you are actually using an image that size then you could get away without specifying the dimensions, but the page will draw quicker if image sizes are specified and content won't move around the page as it loads.

So it is good practice  to.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Starquest321Author Commented:
Excellent. It works. But the picture I have looks too stretched. . .so I want to do the following: Put a couple of pictures next to each other. But when I do the following it puts them one BELOW another. How can I put them NEXT to each other?
<table width="100%" cellpadding="0" cellspacing="0" border="0">
				<tr>
					<td>
					<img src="images/logo1.gif" width="580" height="240">
                    <img src="images/logo2.gif" width="580" height="240">
					</td>
				</tr>
				</table>

Open in new window

0
Hedley PhillipsOwnerCommented:
Try the valign="top" tag.

ie: <td valign="top">

Or make them into one picture
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.