Control in a <td> tag

Aug 9, 2008 at 2:42 PM
Hi,

I try to emmbed the control in a <td> tag and it does'nt work. If I move it out the table (e.g. after the body tag) it works. How can i fix this?
Here is the 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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Slide.Show™</title>
<script type="text/javascript" src="../script/Silverlight.js"></script>
<script type="text/javascript" src="../script/SlideShow.js"></script>
</head>

<body>
<p>Slide.Show in plain body tag</p>
<br />
<script type="text/javascript"> new SlideShow.Control(new SlideShow.XmlConfigProvider());
</script>
<p>Slide.Show in Table tag</p>
<table width="100%" border="1" cellspacing="2" cellpadding="2">
  <tr>
    <td>Control is here:
    <br />
    <script type="text/javascript"> new SlideShow.Control(new SlideShow.XmlConfigProvider());
    </script>
    </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
<p>&nbsp;</p>
</body>
</html>


//
Sep 21, 2008 at 3:07 AM
"<td>Control is here:
    <br />
    <script type="text/javascript"> new SlideShow.Control(new SlideShow.XmlConfigProvider());
    </script>
    </td>
"

I believe if you remove the <br /> it will work.