Comunidad de diseño web y desarrollo en internet online

Pantalla completa se ve mal en firefox

Citar            
MensajeEscrito el 07 Ene 2009 11:30 am
Buenos dias,

Tengo un problema con una web a la hora de colgarla. No se si va aqui el tema, ya que mezcla flash y html.

La web está hecha en flash, y he cambiado los parámetros para que se ajuste al tamaño de pantalla cambiando weigt and height al 100%.

En explorer se ve ok, pero en firefox me sale reducida casi un 90% i no se ve. A que es debido? Si dejo los parámetros como están se ve ok en los dos, pero no coje toda la pantalla sino que se corta y tienes que hacer scroll para que se vea todo.

El código html es este

<body>
<div align="center">
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','100%','height','100%','title','top exterior','src','web_top','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','web_top' ); //end AC code
</script>
<noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="100%" height="100%" title="top exterior">
<param name="movie" value="web_top.swf" />
<param name="quality" value="high" />
<embed src="web_top.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100%" height="100%"></embed>
</object>
</noscript>
</div>
</body>
</html>

Por damibjrs

53 de clabLevel



 

firefox
Citar            
MensajeEscrito el 07 Ene 2009 01:58 pm
mm primero quita el align="center" ya que no se necesita, y tampoco es la forma correcta de centrar, en el hrml no debe haber nada que indique formato.

Me gustaria ver la pagina que tienes colgada, asi seria mas facil diagnosticar el error, pero podrias ir probando colocando un reset css, en tu hoja de estilos, coloca esto como primera linea

Código HTML :

* {margin:0; padding:0}

Esto removera margenes y rellenos que tengan por defecto los navegadores, es posible que en firefox este afectando eso si es que aun no has aplicado el reset css, si lo has hecho de todas formas manda tu link para ver el problema mejor.

Por drarock

Claber

705 de clabLevel

3 tutoriales

Genero:Femenino  

Lima, Peru

firefox
Citar            
MensajeEscrito el 07 Ene 2009 02:02 pm

Por damibjrs

53 de clabLevel



 

firefox
Citar            
MensajeEscrito el 07 Ene 2009 02:12 pm
A ya, es que en firefox hay que darle 100% de alto a otros elementos, mira en tu style coloca lo siguiente

Código HTML :

html,body {height:100%} /*etiquetas body y html altura 100%*/
div{height:100%} /*altura de div que contiene el flash*/

Por drarock

Claber

705 de clabLevel

3 tutoriales

Genero:Femenino  

Lima, Peru

firefox
Citar            
MensajeEscrito el 07 Ene 2009 03:59 pm
Perdona pero no veo donde poner el código, en el style?

Por damibjrs

53 de clabLevel



 

firefox
Citar            
MensajeEscrito el 07 Ene 2009 04:02 pm
Sí, en tu diseño lo tienes en la misma pagina en la etiqueta <style>, pero te recomiendo que uses una hoja de estilos aparte, es la mejor practica, mantienes las cosas mas ordenadas.

Por drarock

Claber

705 de clabLevel

3 tutoriales

Genero:Femenino  

Lima, Peru

firefox
Citar            
MensajeEscrito el 07 Ene 2009 04:13 pm
Ok, te entiendo pero voy bastante pez en html aparte de lo básico.

Lo que tengo es este código, y he metido lo que me has dicho debajo de body, y no hace nada, supongo que debe ser en otro sitio?

escribió:

<!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>Benvinguts a Top Exterior, especialistes en publicitat exterior</title>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<style type="text/css">
<!--
body {
background-color: #000000;
margin-top: 0px;
body {height:100%} /*etiquetas body y html altura 100%*/
div {height:100%} /*altura de div que contiene el flash*/

-->
</style></head>

<body>
<div align="center">
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','100%','height','100%','title','top exterior','src','web_top.fla','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','web_top.fla' ); //end AC code
</script>
<noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="100%" height="100%" title="top exterior">
<param name="movie" value="web_top.fla" />
<param name="quality" value="high" />
<embed src="web_top.fla" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100%" height="100%"></embed>
</object>
</noscript>
</div>
</body>
</html>

Por damibjrs

53 de clabLevel



 

firefox
Citar            
MensajeEscrito el 07 Ene 2009 04:17 pm
Te falta cerrar una llave en el primer selector body, despues de ese margin-top:0px; cierra la llave

Por drarock

Claber

705 de clabLevel

3 tutoriales

Genero:Femenino  

Lima, Peru

firefox
Citar            
MensajeEscrito el 07 Ene 2009 04:43 pm
Ok, Mil gracias!!!

Por damibjrs

53 de clabLevel



 

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.