help with html/css

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
rkhan911
Forum Newbie
Posts: 2
Joined: Sat Nov 27, 2010 1:04 am

help with html/css

Post by rkhan911 »

i am trying to embed video in a web page. This is as far as i have gotten.
http://www.renegadepic.com/w2/

i am having trouble with formating it properly so that the frame is not upside down.
can you help?
here is the code:

<html>
<head>
<title>videos525</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- Save for Web Slices (videos525.psd) -->
<table id="Table_01" width="1000" height="600" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<img src="images/videos525_01.gif" width="250" height="201" alt=""></td>
<td>
<img src="images/videos525_02.gif" width="901" height="201" alt=""></td>
<td>
<img src="images/videos525_03.gif" width="249" height="201" alt=""></td>
</tr>
<tr>
<td>
<img src="images/videos525_04.gif" width="250" height="410" alt=""></td>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="45">&nbsp;
</td>
<td width="150" align="left" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center">
<a href="#"><img src="vedio/s04.gif" width="140" height="86" onClick="abc('one.f4v','04.gif')" class="all_bd"></a></td>
</tr>
<tr>
<td>
<img src="images/spc.gif" width="2" height="53"></td>
</tr>
<tr>
<td align="center"><a href="#"><img src="vedio/s06.gif" width="140" height="86" onClick="abc('six.f4v','01.gif')" class="all_bd"></a></td>
</tr>
<tr>
<td>
<img src="images/spc.gif" width="2" height="53"></td>
</tr>
<tr>
<td align="center">
<a href="#"><img src="vedio/s03.gif" width="140" height="86" onClick="abc('three.f4v','03.gif')" class="all_bd"></a></td>
</tr>
<tr>
<td>
<img src="images/spc.gif" width="2" height="4"></td>
</tr>
</table>
</td>
<td width="15px">&nbsp;
</td>
<td align="center" valign="middle">
<div id='preview'>Wait...........</<div>
<script type='text/javascript' src='swfobject.js'></script>
<script type='text/javascript'>
var a="file=vedio/one.f4v&image=vedio/04.gif&autostart=true";
function abc(title,img)
{
a="file=vedio/" + title + "&image=vedio/" + img + "&autostart=true";
var s1 = new SWFObject('player.swf','player','506','400','9');
s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always');
s1.addParam('flashvars',a);
s1.write('preview');
return false;
}
var s1 = new SWFObject('player.swf','player','506','400','9');
s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always');
s1.addParam('flashvars',a);
s1.write('preview');
</script>
</td>
<td width="15px">&nbsp;
</td>
<td width="150" align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center">
<a href="#"><img src="vedio/s05.gif" width="140" height="86" onClick="abc('four.flv','05.gif')" class="all_bd"></a></td>
</tr>
<tr>
<td><img src="images/spc.gif" width="2" height="53"></td>
</tr>
<tr>
<td align="center">
<a href="#"><img src="vedio/s02.gif" width="140" height="86" onClick="abc('five.flv','02.gif')" class="all_bd"></a></td>
</tr>
<tr>
<td><img src="images/spc.gif" width="2" height="53"></td>
</tr>
<tr>
<td align="center"><a href="#"><img src="vedio/s04.gif" width="140" height="86" onClick="abc('three.flv','04.gif')" class="all_bd"></a></td>
</tr>

</table></td>

</tr>
</table>
</td>
</tr>
<td>
<img src="images/videos525_06.gif" width="249" height="410" alt=""></td>
</tr>
<tr>
<td>
<img src="images/videos525_07.gif" width="250" height="189" alt=""></td>
<td>
<img src="images/videos525_08.gif" width="901" height="189" alt=""></td>
<td>
<img src="images/videos525_09.gif" width="249" height="189" alt=""></td>
</tr>
</table>
<!-- End Save for Web Slices -->
</body>
</html>
Post Reply