Ver Mensaje Individual
  #1 (permalink)  
Antiguo 20/10/2012, 23:42
Avatar de guzzano
guzzano
 
Fecha de Ingreso: julio-2010
Ubicación: Isla de Margarita
Mensajes: 162
Antigüedad: 13 años, 9 meses
Puntos: 13
Problema con gradient en firefox

Buenos días. Tengo configurado mi CSS para que tenga un efecto gradient en el fondo del sitio. Con Chrome funciona perfectamente pero con Firefox o Opera, se ve cortado.

Aquí con chrome:


Aquí con firefox:


El código es el siguiente:
Código HTML:
Ver original
  1. <? //if (isset($_SESSION['login']['estado']) != TRUE) { include('paginas/no_logeado.html'); exit();} ?>
  2.  
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
  4. <html xml:lang = "es" xmlns = "http://www.w3.org/1999/xhtml">
  5.     <head>
  6.         <meta http-equiv = "content-type" content = "text/html; charset = utf-8"/>
  7.         <title>mPlayer</title>
  8.        
  9.         <link href='http://fonts.googleapis.com/css?family=Carrois+Gothic+SC' rel='stylesheet' type='text/css'>
  10.         <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
  11.         <link rel = "stylesheet" href="recursos/css/reveal.css">
  12.        
  13.         <script src = "http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
  14.         <script type="text/javascript" src="recursos/js/jquery.jplayer.min.js"></script>
  15.        
  16.         <script src="recursos/js/jquery.reveal.js" type="text/javascript"></script>
  17.  
  18.         <script type="text/javascript">
  19.         $(document).ready(function() {
  20.             $('#agregar_cancion_s').click(function(e) {e.preventDefault(); $('#dialogo_agregar_cancion').reveal(); });
  21.             $("#buscar_cancion").click(function() { });
  22.  
  23.             $("#jquery_jplayer_1").jPlayer({
  24.                     ready: function () {
  25.                         $(this).jPlayer("setMedia", {
  26.                             mp3: "http://www.todo-chat.tk/musica/Hip%20Hop/Snoop%20Dogg/Snoop%20Dogg%20-%20Snoop%20Dogg%20Ft.%20Dr.%20Dre%20-%20The%20Next%20Episode.mp3" }); },
  27.                            
  28.             swfPath: "recursos/js/",
  29.             supplied: "mp3",
  30.             cssSelectorAncestor: "",
  31.             cssSelector: {
  32.                 play: "#play",
  33.                 pause: "#pause",
  34.                 currentTime: "#currentTime",
  35.                 duration: "#duration" }});
  36.  
  37.             $("#autor").mouseenter(function() {
  38.                 $("#tiempo").css("display", "block"); });
  39.  
  40.             $("#autor").mouseleave(function(e){
  41.                 $("#tiempo").css("display", "none"); });
  42.                  });
  43.                
  44.         </script>
  45.        
  46.     </head>
  47.        
  48.     <body style = "font-family: 'Carrois Gothic SC', sans-serif; background: rgb(254,255,232); background: -moz-linear-gradient(-45deg,  rgba(254,255,232,1) 0%, rgba(214,219,191,1) 100%); background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(254,255,232,1)), color-stop(100%,rgba(214,219,191,1))); background: -webkit-linear-gradient(-45deg,  rgba(254,255,232,1) 0%,rgba(214,219,191,1) 100%); background: -o-linear-gradient(-45deg,  rgba(254,255,232,1) 0%,rgba(214,219,191,1) 100%); background: -ms-linear-gradient(-45deg,  rgba(254,255,232,1) 0%,rgba(214,219,191,1) 100%); background: linear-gradient(135deg,  rgba(254,255,232,1) 0%,rgba(214,219,191,1) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#feffe8', endColorstr='#d6dbbf',GradientType=1 ); margin: 6 auto; width: 850px;">
  49.  
  50.         <div id="dialogo_agregar_cancion" class = "reveal-modal" style = "text-align: center">
  51.              <b><span style = "font-size: 39;">Agregar más canciones</span></b>
  52.              <p>Para agregar más canciones, necesitas que introduzcas  el nombre y la canción del artista de la siguiente manera: <b>Artista - Canción</b>, el sistema la buscará y te permitirá
  53.               agregarla a tu playlist.</p>
  54.                          
  55.               Canción: <input type = "text" name = "nombre_cancion" style = "border-radius: 5px; border: 1px solid #000000; outline: none; padding-left: 2px; font-size: 10px;">
  56.               <button id = "buscar_cancion">Buscar...</button>
  57.               <a class="close-reveal-modal">×</a>
  58.         </div>
  59.    
  60.         <div style = "height: 120px; margin-left: auto; margin-right: auto;">
  61.             <div style = "float: left;">
  62.                 <span style = "font-size: 60px;">REPRODUCTOR DE <span style = "color: #0FB7CA">MÚSICA</span><br>
  63.                 <span style = "font-size: 20px;">¡Por qué si haces música con el corazón no te molesta compartirla! </span>
  64.             </div>
  65.  
  66.             <div style = "float: left; padding-left: 9px;">
  67.                 <div style = "border-left: 3px solid #FFFFFF; height: 90px; margin-top: 7px; position: absolute;"></div>
  68.                 <div style = "padding-top: 0px; padding-left: 9px;">
  69.                     <p style = "color: #D61052">Alberto Jsé</p>
  70.                     <span id = "agregar_cancion_s" style = "font-size: 12px; cursor: pointer;">Agregar al playlist</span><br/>
  71.                     <span style = "font-size: 12px;">Notificaciones (<font color = "C40909">0</font>)</span><br/>
  72.                     <span style = "font-size: 12px;">Información</span><br/>
  73.                 </div>
  74.             </div>
  75.         </div>
  76.  
  77.         <div id = "contenido">
  78.             <div style = "padding-top: 20%;">
  79.                 <div style = "width:380px; height: 14px; padding-left: 40px; text-align: center;">
  80.                     <div id = "play" style = "display: inline-block; cursor: pointer; background-image: url(recursos/imagenes/play.gif); width: 16px; height: 17px;"></div>
  81.                     <div id = "pause" style = "display: inline-block; cursor: pointer; background-image: url(recursos/imagenes/pause.gif); width: 16px; height: 17px;"></div>
  82.                     <div id = "autor" style = "-vertical-align: middle; display: inline-block; cursor: default;"><b>Pink Floyd</b> - Shine On You Crazy Diamond</div>
  83.                     <div id = "tiempo" style = "display: none;">(<span id = "currentTime" style = "font-size:10px;"></span> / <span id = "duration" style = "font-size:10px;"></span>)</div>
  84.                     <div id="jquery_jplayer_1" class="jp-jplayer"></div>
  85.                 </div>
  86.             </div>
  87.         </div>
  88.  
  89.  
  90.         <div style = "width: 100%;  position: absolute; bottom: 0; left: 0; border-top: 1px solid #FFFFFF; background: #000000; color: FFFFFF; font-size: 18px;">
  91.             <div style = "padding-top: 4px; padding-left: 4px;">
  92.                 Powered by <span style = "color: F2EF22">H00k.ve</span> <span style = "font-size: 12px; color: #75756E;"> Este sitio no aloja ningún tipo de contenido. Los sonidos aquí suministrados están almacenados en otros servidores ajenos a nuestro proyecto. Por ende, el equipo de mPlayer no se hace responsable del uso inadecuado de estos. Para mayor información (+58) 0416 1945283 ó [email protected]. </span>
  93.             </div>
  94.         </div>
  95.     </body>
  96. </html>

En el body estan cargado todo los estilos de CSS incluyendo en gradient. También se aceptan consejos si tengo algún error en las etiquetas. Eso es todo. Saludos y gracias. Buen día, valgase la redundancia.

Última edición por guzzano; 20/10/2012 a las 23:51