Solved

Why doesn't anything show up?

Posted on 2009-07-08
6
188 Views
Last Modified: 2012-05-07
Head out to http://www.cmsongwriter.com. I've got the code for the page writen below and the stylesheet code attached.

There's something about the way I'm coding things that's keeping anything other than the header swf from showing up. Below that should be the title_marquee.swf and it's not showing up and I don't know why.

What am I doing wrong?

You can see the title_marquee.swf code and file by going out to http://cmsongwriter.com/title_marquee.html so you can be assured that it's sitting on the server, but it's not showing up on the default page. Why?

Here's my html:

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>cmsongwriter.com | the premier Christian songwriters' competition</title>
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="AC_RunActiveContent.js" language="javascript"></script>
<script type="text/javascript" src="swfobject.js"></script>
<link href="stylesheet.css" rel="stylesheet" type="text/css" />

</head>

<body >

<table align="center" width=100% height=100% cellspacing="0" cellpadding="0">
<tr>
<td class="main_stage" align="center" width="1400">

<!- here's where your body begins ->

      <table cellspacing="0" cellpadding="0" width="1011" align="center" height=100% border="0">
      <tr>
      <td valign="top">
      <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
      width="1011" height="162" id="header" align="middle">
      <param name="allowScriptAccess" value="sameDomain" />
      <param name="movie" value="header.swf" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#ffffff" />
      <embed src="header.swf"       quality="high" wmode="transparent" bgcolor="#ffffff" width="1011" height="162" name="header" align="middle" allowScriptAccess="sameDomain"
       type="application/x-shockwave-flash" pluginspage="https://www.macromedia.com/go/getflashplayer" />
      </td>
      </tr>
      <tr>
      <td>
      <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
      width="1011" height="261" id="title_marquee" align="middle">
      <param name="allowScriptAccess" value="sameDomain" />
      <param name="movie" value="title_marquee.swf" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#ffffff" />
      <embed src="title_marquee.swf" quality="high" wmode="transparent" bgcolor="#ffffff" width="1011" height="261" name="title_marquee" align="middle" allowScriptAccess="sameDomain"
      type="application/x-shockwave-flash" pluginspage="https://www.macromedia.com/go/getflashplayer" />
      </object>
      </td>
      </tr>
      </table>

</td>
</tr>
</table>

</body>
</html>
body {
	    font-family: Verdana, Helvetica, sans-serif;
        font-size: 12px;
        padding: 0px;
        height: 100%;
        width: 100%;
        margin: 0;
		background-color: #E8E4E6;
		background-image: url(images/background_gradient.jpg);
	}
 
	
td {
	font-family: Verdana, Microsoft Sans Serif;
	font-size: 12px;
	color: #000000;
	}
 
td.main_stage {
	font-family: Verdana, Microsoft Sans Serif;
	font-size: 12px;
	color: #000000;
	background-image: url(images/background.jpg);
	background-repeat: no-repeat;
		}
	
	
 
TEXTAREA {
	width:700px;
	height:250px;
	font-family: Verdana, Microsoft Sans Serif;
	font-size: 10px;
	color: #000000;
	float:left:
	}
	
T
A
{
	font-family: Verdana, Microsoft Sans Serif;
	font-size: 14px;
	color: #000000;
	text-decoration:underline;
}
 
A:Hover {
	font-family: Verdana, Microsoft Sans Serif;
	font-size: 14px;
	color: #000000;
	text-decoration:underline;
}
 
A:Visited {
	font-family: Verdana, Microsoft Sans Serif;
	font-size: 14px;
	color: #000000;
	text-decoration:underline;
}
 
A.RadioTitle {
  	background color:#F42D23;
	font-family: Verdana, Microsoft Sans Serif;
	font-size: 18px;
	color: #ffffff;
	text-decoration:underline;	
 }
 
A.RadioTitle:Hover {
  	background color:#F42D23;
	font-family: Verdana, Microsoft Sans Serif;
	font-size: 18px;
	color: #7BC0FA;
	text-decoration:underline;	
 }
 
A.RadioTitle:Visited {
  	background color:#F42D23;
	font-family: Verdana, Microsoft Sans Serif;
	font-size: 18px;
	color: #ffffff;
	text-decoration:underline;	
 }

Open in new window

0
Comment
Question by:brucegust
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 4

Expert Comment

by:tokyoahead
ID: 24810530
I can see it...  see attached file...

Clip0001.jpg
0
 
LVL 13

Expert Comment

by:qwerty021600
ID: 24810939
Copy this code and it'll work
<!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" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>cmsongwriter.com | the premier Christian songwriters' competition</title>
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="AC_RunActiveContent.js" language="javascript"></script>
<script type="text/javascript" src="swfobject.js"></script>
<link href="stylesheet.css" rel="stylesheet" type="text/css" />

</head>

<body >

<table align="center" width=100% height=100% cellspacing="0" cellpadding="0">
<tr>
<td class="main_stage" align="center" width="1400">

<!-- here's where your body begins -->

      <table cellspacing="0" cellpadding="0" width="1011" align="center" height=100% border="0">
      <tr>
      <td valign="top">
      <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
      width="1011" height="162" id="header" align="middle">
      <param name="allowScriptAccess" value="sameDomain" />
      <param name="movie" value="header.swf" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#ffffff" />
      <embed src="header.swf"       quality="high" wmode="transparent" bgcolor="#ffffff" width="1011" height="162" name="header" align="middle" allowScriptAccess="sameDomain"
       type="application/x-shockwave-flash" pluginspage="https://www.macromedia.com/go/getflashplayer" />
      </td>
      </tr>
      <tr>
      <td>
      <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
      width="1011" height="261" id="title_marquee" align="middle">
      <param name="allowScriptAccess" value="sameDomain" />
      <param name="movie" value="title_marquee.swf" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#ffffff" />
      <embed src="title_marquee.swf" quality="high" wmode="transparent" bgcolor="#ffffff" width="1011" height="261" name="title_marquee" align="middle" allowScriptAccess="sameDomain"
      type="application/x-shockwave-flash" pluginspage="https://www.macromedia.com/go/getflashplayer" />
      </object>
      </td>
      </tr>
      </table>

</td>
</tr>
</table>

</body>
</html>
0
 
LVL 13

Expert Comment

by:qwerty021600
ID: 24810941
The comment given by you was not in proper Tags
<!- here's where your body begins ->

It should be
<!-- here's where your body begins -->
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:brucegust
ID: 24816999
qwerty, I'm using your code and it still doesnt' show up...

Where am I blowing it?
0
 
LVL 4

Accepted Solution

by:
tokyoahead earned 500 total points
ID: 24819372
your first object is missing a </object>

also, you HTML is wrong in many places. try

http://validator.w3.org/

to validate your code.

also, you are using tables for layout which will cause several issues. your complete outer table could be displayed by one single <div class="whatever> ... </div> and some basic CSS.

please read this here:

http://www.hotdesign.com/seybold/
0
 

Author Closing Comment

by:brucegust
ID: 31601407
It was that closing "
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question