Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

Ronaldo Mendes

Problema CSS e

Recommended Posts

Olá, estou com um problema no alinhamento de um player nos navegadores.

 

O chrome está com um alinhamento diferente aos outros. peço ajuda de quem puder resolver para mim.

 

Desde já agradeço.

 

 

Segue o codigo:

 

 

<?php
include("../../central/top.php");
$sc = fopen("../../central/configggggggg.php", "r");
$size = filesize('../../central/configggggggg.php') + 1;
$wiersz = fread($sc, $size);
$sc = explode('|', $wiersz);
$sc_stan = $sc[0];
$sc_ip = $sc[1];
$sc_managerport = $sc[3];
$sc_sen = $sc[4];
$sc_asx = $sc[5];
if ($sc_stan == 'tak') {
$ssc = 'checked';
}
else if ($sc_stan == 'nie') {
$ssc = '';
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
td img {display: block;}
body {

        margin:-11px;
  
	background-color:#999;
	background-image:url(img/bg.jpg);
	background-repeat:repeat-x;
}
body,td,th {
	font-size: 11px;
	color: #FFF;
}
</style>
<style type="text/css"> 
<!--
#tt {font-size: 11px; font-family: Verdana, Arial, sans-serif; position:absolute; display:block; background:url(img/.png) top left no-repeat}
#tttop {display:block; height:5px; margin-left:5px; background:url(img/.png) top right no-repeat; overflow:hidden}
#ttcont {display:block; padding:2px 12px 3px 7px; margin-left:5px; background:; color:#FFF}
#ttbot {display:block; height:5px; margin-left:5px; background:url(img/.png) top right no-repeat; overflow:hidden}
#mediaspace { color:#FFFFFF;}
}
-->
</style> 
<?php
   include "../../central/config.php";
   
   $resultado = mysql_query("SELECT*FROM configs");
$linhas = mysql_num_rows($resultado);
while ($linha = mysql_fetch_array($resultado)){
$url = $linha["url"];
}?>
<script type="text/javascript"> 

var PararRefresh	= '2';

var divNoarId	 	= '#layAtual';

var divWMPlayerId	= '#WMPlayer';

var ArquivoNoar		= 'noar.php';

var TimeRefresh		= '15000';

var ArquivoASX		= '<?php echo $sc_asx ?>';

var Player			= '<object id="WMPlay" classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft速 Windows速 Media Player components..." type="application/x-oleobject" viewastext="" vspace="0" width="0" align="baseline" height="0" hspace="0"><param name="FileName" value="'+ArquivoASX+'"><param name="AutoStart" value="True"><param name="TransparentAtStart" value="True"><param name="ShowControls" value="0"><param name="ShowDisplay" value="true"><param name="ShowStatusBar" value="1"><param name="Volume" value="+300"><param name="AutoSize" value="0"><param name="AnimationAtStart" value="true"><!--NETSCAPE PLUG-IN STARTS HERE--><embed autostart="True" type="application/x-mplayer2" id="MediaPlayer" transparentatstart="True" showcontrols="0" showdisplay="true" showstatusbar="1" animationatstart="true" filename="'+ArquivoASX+'" autosize="0" volume="-300" vspace="0" width="172" align="baseline" height="19"><\/embed><\/object>';

$(document).ready(function()

{

	$("a.color").click(function()

	{

		var nova_cor = $(this).attr('lang');

		$("#layGeral").css('background-color', '#'+nova_cor);

	});

});

function IniciarMusica()

{

	//$(divNoarId).fadeIn().html('Iniciando player...');

	$(divWMPlayerId).html(Player);

	var	PararRefresh	= 'NAO';

	StatusMusicaAtual();

}

function PararMusica(Repetir)

{

	//$(divNoarId).fadeIn().html('Parando player...');

	$(divWMPlayerId).html('');

	StatusMusicaAtual();

	var	PararRefresh	= 'SIM';

}

function StatusMusicaAtual()

{

	$.post(ArquivoNoar, function(data)

	{

		$(divNoarId).fadeOut('600',function()

		{

			$(this).html(data).fadeIn();

		}).html();

	});

	if(PararRefresh != 'SIM')

	{

		setTimeout('StatusMusicaAtual()', TimeRefresh);

	}

}

</script>

<script language="javascript" src="../tooltips.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<script src="jquery-1.4.2.min.js" type="text/javascript"></script>
</head>
<body onload="IniciarMusica()">
<body onload="MM_preloadImages('img/player-on-pedidos.jpg')">
<center>
<table style="display: inline-table;" border="0" cellpadding="0" cellspacing="0" width="761">
  <tr>
   <td><img src="img/spacer.gif" width="139" height="1" border="0" alt="" /></td>
   <td><img src="img/spacer.gif" width="15" height="1" border="0" alt="" /></td>
   <td><img src="img/spacer.gif" width="27" height="1" border="0" alt="" /></td>
   <td><img src="img/spacer.gif" width="18" height="1" border="0" alt="" /></td>
   <td><img src="img/spacer.gif" width="27" height="1" border="0" alt="" /></td>
   <td><img src="img/spacer.gif" width="15" height="1" border="0" alt="" /></td>
   <td><img src="img/spacer.gif" width="16" height="1" border="0" alt="" /></td>
   <td><img src="img/spacer.gif" width="95" height="1" border="0" alt="" /></td>
   <td><img src="img/spacer.gif" width="16" height="1" border="0" alt="" /></td>
   <td><img src="img/spacer.gif" width="19" height="1" border="0" alt="" /></td>
   <td><img src="img/spacer.gif" width="173" height="1" border="0" alt="" /></td>
   <td><img src="img/spacer.gif" width="13" height="1" border="0" alt="" /></td>
   <td><img src="img/spacer.gif" width="11" height="1" border="0" alt="" /></td>
   <td><img src="img/spacer.gif" width="41" height="1" border="0" alt="" /></td>
   <td><img src="img/spacer.gif" width="15" height="1" border="0" alt="" /></td>
   <td><img src="img/spacer.gif" width="8" height="1" border="0" alt="" /></td>
   <td><img src="img/spacer.gif" width="15" height="1" border="0" alt="" /></td>
   <td><img src="img/spacer.gif" width="8" height="1" border="0" alt="" /></td>
   <td><img src="img/spacer.gif" width="15" height="1" border="0" alt="" /></td>
   <td><img src="img/spacer.gif" width="7" height="1" border="0" alt="" /></td>
   <td><img src="img/spacer.gif" width="15" height="1" border="0" alt="" /></td>
   <td><img src="img/spacer.gif" width="47" height="1" border="0" alt="" /></td>
   <td><img src="img/spacer.gif" width="6" height="1" border="0" alt="" /></td>
   <td><img src="img/spacer.gif" width="1" height="1" border="0" alt="" /></td>
  </tr>

  <tr>
   <td rowspan="9"><a href="/" target="_blank"><img name="index_r1_c1" src="img/index_r1_c1.jpg" width="139" height="50" border="0" id="index_r1_c1" alt="" /></a></td>
   <td rowspan="2" colspan="5"><img name="index_r1_c2" src="img/index_r1_c2.jpg" width="102" height="11" border="0" id="index_r1_c2" alt="" /></td>
   <td rowspan="9"><img name="index_r1_c7" src="img/index_r1_c7.jpg" width="16" height="50" border="0" id="index_r1_c7" alt="" /></td>
   <td rowspan="3"><img name="index_r1_c8" src="img/index_r1_c8.jpg" width="95" height="17" border="0" id="index_r1_c8" alt="" /></td>
   <td rowspan="6"><img name="index_r1_c9" src="img/index_r1_c9.jpg" width="16" height="32" border="0" id="index_r1_c9" alt="" /></td>
   <td rowspan="9"><img name="index_r1_c10" src="img/index_r1_c10.jpg" width="19" height="50" border="0" id="index_r1_c10" alt="" /></td>
   <td rowspan="9" background="img/index_r1_c11.jpg"><iframe src="locutor.php" width="100%" height="50" frameborder="0" scrolling="no" /></iframe></td>
   <td rowspan="9"><img name="index_r1_c12" src="img/index_r1_c12.jpg" width="13" height="50" border="0" id="index_r1_c12" alt="" /></td>
   <td rowspan="9"><img name="index_r1_c13" src="img/index_r1_c13.jpg" width="11" height="50" border="0" id="index_r1_c13" alt="" /></td>
   <td colspan="10"><img name="index_r1_c14" src="img/index_r1_c14.jpg" width="177" height="8" border="0" id="index_r1_c14" alt="" /></td>
   <td><img src="img/spacer.gif" width="1" height="8" border="0" alt="" /></td>
  </tr>
  <tr>
   <td rowspan="4"><img name="index_r2_c14" src="img/index_r2_c14.jpg" width="41" height="20" border="0" id="index_r2_c14" alt="" /></td>
   <td rowspan="3"><a href="<?php echo $orkut ?>" target="_blank"><img name="index_r2_c15" src="img/index_r2_c15.jpg" width="15" height="15" border="0" id="index_r2_c15" alt="" onmouseover="tooltip.show('<b>Nossa Pagina no Facebook</b>');" onmouseout="tooltip.hide();"/></a></td>
   <td rowspan="4"><img name="index_r2_c16" src="img/index_r2_c16.jpg" width="8" height="20" border="0" id="index_r2_c16" alt="" /></td>
   <td rowspan="3"><a href="../../mandaca.asx" target="_blank"><img name="wmp" src="img/index_r2_c17.jpg" width="15" height="15" border="0" id="wmp" alt="wmp" onmouseover="tooltip.show('<b>Escutar Pelo Media Player</b>');" onmouseout="tooltip.hide();" /></a></td>
   <td rowspan="4"><img name="index_r2_c18" src="img/index_r2_c18.jpg" width="8" height="20" border="0" id="index_r2_c18" alt="" /></td>
   <td rowspan="3"><a href="../../mandaca.ram" target="_blank"><img name="index_r2_c19" src="img/index_r2_c19.jpg" width="15" height="15" border="0" id="index_r2_c19" alt="" onmouseover="tooltip.show('<b>Escutar Pelo Real Player</b>');" onmouseout="tooltip.hide();" /></a></td>
   <td rowspan="4"><img name="index_r2_c20" src="img/index_r2_c20.jpg" width="7" height="20" border="0" id="index_r2_c20" alt="" /></td>
   <td rowspan="3"><a href="../../mandaca.pls" target="_blank"><img name="index_r2_c21" src="img/index_r2_c21.jpg" width="15" height="15" border="0" id="index_r2_c21" alt="" onmouseover="tooltip.show('<b>Escutar Pelo Winamp</b>');" onmouseout="tooltip.hide();" /></a></td>
   <td rowspan="4" colspan="2"><img name="index_r2_c22" src="img/index_r2_c22.jpg" width="53" height="20" border="0" id="index_r2_c22" alt="" /></td>
   <td><img src="img/spacer.gif" width="1" height="3" border="0" alt="" /></td>
  </tr>
  <tr>
   <td rowspan="7"><img name="index_r3_c2" src="img/index_r3_c2.jpg" width="15" height="39" border="0" id="index_r3_c2" alt="" /></td>
   <td rowspan="5"><a href="javascript:IniciarMusica();" title="Iniciar"><img name="index_r3_c3" src="img/index_r3_c3.jpg" width="27" height="28" border="0" id="index_r3_c3" alt="" /></a></td>
   <td rowspan="7"><img name="index_r3_c4" src="img/index_r3_c4.jpg" width="18" height="39" border="0" id="index_r3_c4" alt="" /></td>
   <td rowspan="5"><a href="javascript:PararMusica('1');" title="Parar"><img name="index_r3_c5" src="img/index_r3_c5.jpg" width="27" height="28" border="0" id="index_r3_c5" alt="" /></a></td>
   <td rowspan="7"><img name="index_r3_c6" src="img/index_r3_c6.jpg" width="15" height="39" border="0" id="index_r3_c6" alt="" /></td>
   <td><img src="img/spacer.gif" width="1" height="6" border="0" alt="" /></td>
  </tr>
  <tr>
   <td rowspan="3"><a href="#" onmouseover="MM_swapImage('Pedidos','','img/player-on-pedidos.jpg',1)" onmouseout="MM_swapImgRestore()" onclick="window.open('../pedidos.php', 'Pedidos', 'STATUS=NO, TOOLBAR=NO, LOCATION=NO, DIRECTORIES=NO, RESISABLE=NO, SCROLLBARS=NO, TOP=0, LEFT=0, WIDTH=200, HEIGHT=220');"><img name="Pedidos" src="img/index_r4_c8.jpg" width="95" height="15" border="0" id="Pedidos" alt="Pedidos" /></a></td>
   <td><img src="img/spacer.gif" width="1" height="6" border="0" alt="" /></td>
  </tr>
  <tr>
   <td><img name="index_r5_c15" src="img/index_r5_c15.jpg" width="15" height="5" border="0" id="index_r5_c15" alt="" /></td>
   <td><img name="index_r5_c17" src="img/index_r5_c17.jpg" width="15" height="5" border="0" id="index_r5_c17" alt="" /></td>
   <td><img name="index_r5_c19" src="img/index_r5_c19.jpg" width="15" height="5" border="0" id="index_r5_c19" alt="" /></td>
   <td><img name="index_r5_c21" src="img/index_r5_c21.jpg" width="15" height="5" border="0" id="index_r5_c21" alt="" /></td>
   <td><img src="img/spacer.gif" width="1" height="5" border="0" alt="" /></td>
  </tr>
  <tr>
  <?php
include "../../central/config.php";
$select = "SELECT*FROM noticiaplayer";
$result = mysql_query($select);
while($linhas_destaque = mysql_fetch_array($result)){
$noticia = $linhas_destaque['noticia'];
?>
   <td rowspan="3" colspan="9" background="img/index_r6_c14.jpg"><center><marquee onMouseOver="stop()" onMouseOut="start()" scrollamount="1" scrolldelay="10"><?php echo $noticia ?></marquee></center></td>
   <? } ?>
   <td rowspan="4"><img name="index_r6_c23" src="img/index_r6_c23.jpg" width="6" height="22" border="0" id="index_r6_c23" alt="" /></td>
   <td><img src="img/spacer.gif" width="1" height="4" border="0" alt="" /></td>
  </tr>
  <tr>
   <td rowspan="3" colspan="2"><img name="index_r7_c8" src="img/index_r7_c8.jpg" width="111" height="18" border="0" id="index_r7_c8" alt="" /></td>
   <td><img src="img/spacer.gif" width="1" height="7" border="0" alt="" /></td>
  </tr>
  <tr>
   <td rowspan="2"><img name="index_r8_c3" src="img/index_r8_c3.jpg" width="27" height="11" border="0" id="index_r8_c3" alt="" /></td>
   <td rowspan="2"><img name="index_r8_c5" src="img/index_r8_c5.jpg" width="27" height="11" border="0" id="index_r8_c5" alt="" /></td>
   <td><img src="img/spacer.gif" width="1" height="4" border="0" alt="" /></td>
  </tr>
  <tr>
   <td colspan="9"><img name="index_r9_c14" src="img/index_r9_c14.jpg" width="171" height="7" border="0" id="index_r9_c14" alt="" /></td>
   <td><img src="img/spacer.gif" width="1" height="7" border="0" alt="" /></td>
  </tr>
</table>
<br />
<br />
<br />
<br />
<br />
<div id="WMPlayer"></div>


</center>
</body>
</html>

 

 

 

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.