Solved

Why doesn't anything show up?

Posted on 2009-07-08
6
180 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
  • 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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

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.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

777 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