Comunidad de diseño web y desarrollo en internet online

Valor imcompatible: fixed

Citar            
MensajeEscrito el 27 Jun 2009 12:34 am
Comenzando con el sitio, me surgio un proble y prefiero depurarlo mientras voy editando, para asi cuando se finalice sea sin problemas.

Hay incompatibilidades con IE 7, 8 y en Mac, marca como "Valor incompatible: fixed" donde esta:

Código :

@media screen{
  body>div#footer{
   position: fixed;
   text-align: center;


Esta basado en Footer fixed con la diferencia que en mi DTD es XHTML 1.1 transicion.

Aqui un ejemplo:

Código HTML :

<!-- IE in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- TemplateBeginEditable name="doctitle" -->
<title>Carlos O. Antognazzi</title>
<!-- TemplateEndEditable -->
<meta name="title" content="Carlos O. Antognazzi"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Cache control" content="no-cache"/>
<link rel="stylesheet" href="/lab/css/fixed/layout.css" type="text/css" />

<style type="text/css">
 body{
   margin:0;
   padding:0 0 100px 0;
   background-image: url(../fondo.jpg);
   margin-left: 0%;
   margin-right: 0%;
 } 
 div#footer{
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  height:50px;
 }
 @media screen{
  body>div#footer{
   position: fixed;
  }
 }
 * html body{
  overflow:hidden;
 } 
 * html div#content{
  height:100%;
  overflow:auto;
 }
</style>
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<div id="footer">
  <table width="100%" border="0">
    <tr>
      <th scope="col">Menu de Texto animado en Flash <a href="../articulos.html">menu1</a>, <a href="../contacto.html">menu2</a></th>
    </tr>
    <tr>
      <th scope="col" style="font-family:Inkburrow; font-size:12pt; font-weight:bold">Powered by <a href="http://audioestudio.net/"><img src="../ae.png" width="26" height="20" border="0" /></a></th>
    </tr>
  </table>
</div>
<div id="content"><br />
<!-- TemplateBeginEditable name="Contenido" -->
  <table width="90%" align="center">
    <tr>
      <th scope="col"><img src="../foto-principal.JPG" width="420" height="436" /></th>
    </tr>
  </table>
  <table width="90%" align="center">
    <tr>
      <th width="40%" valign="top" style="font-family: Arial; text-align: justify; font-size: 12pt;" scope="col"> Carlos O. Antognazzi naci&oacute; en Santa Fe (Argentina) el 14 de mayo de 1963. Reside en Santo Tome (Santa Fe). <br/>
        <br/>
        Escritor, periodista <i>free lance</i>, cr&iacute;tico, docente. En 1985 fue Jefe de Redacción del periódico “La Voz”, de Santo Tomé (Santa Fe). Entre 1984 y 1994 colaboró como crítico en el suplemento cultural del diario “El Litoral”, de Santa Fe.
        Lo hizo también en los suplementos culturales de los diarios “La Capital” (de Rosario), “La Voz del Interior” (de Córdoba), “El Diario” (Paraná, Entre Ríos), “Castellanos” (Rafaela, Santa Fe), “El Santotomesino” (Santo Tomé, Santa Fe), “El Tábano” (Rafaela, Santa Fe) y en diversas revistas: “Gaceta Literaria” (Santa Fe), “Quemar las naves” (Formosa), “Clepsidra” (Buenos Aires), “Cuásar” (Buenos Aires), “El grillo” (Buenos Aires), “Axxón” (Buenos Aires), “Entre Vista” (Santa Fe), “Hoy y mañana” (Santa Fe).<br/>
        <br/>
        Ha entrevistado, para distintos medios, a escritores como José Saramago, Juan Goytisolo, Mario Benedetti, Abelardo Castillo, Abel Posse, César Aira.<br/>
        <br/>
        Una selección de estos artículos, presentaciones en congresos y entrevistas se publicó en el libro <i>Apuntes de literatura</i> (1995).<br/>
        <br/>
        Cuentos suyos fueron traducidos al italiano y al inglés. Algunos circulan en Internet. Edita artículos en el portal de «Mundo Cultural Hispano» en Internet. Integra antologías en España, Estados Unidos, Italia, México y Argentina.<br/>
        <br/>
        En 1996 organiza y coordina el «Primer Ciclo de Pensamiento Contemporáneo», que deriva en la edición del libro <i>La cultura en el fin de siglo</i> (1997), del que es compilador.<br/>
        <br/>
        Es coordinador de talleres literarios en Santo Tomé y Santa Fe. Trabaja además en la corrección de textos de otros autores, en el diseño y compaginación de libros y como <i>ghost writer</i>. Es jurado de concursos literarios.<br/>
        <br/>
        Dicta cursos, conferencias y talleres en congresos y encuentros de escritores. Ha disertado en las universidades Nacional del Litoral, UNL, (Santa Fe, Argentina); Nacional del Nordeste (Corrientes, Argentina); Zulia (Maracaibo, Venezuela), Privada Boliviana, UPB (Cochabamba, Bolivia). Ha sido becado por los gobiernos de Argentina, España y Venezuela.<br/>
        <br/>
        En 1997 fue incluido en la site de «Literatura Argentina Contemporánea» organizada por la Universidad de Minnesota (Estados Unidos), la Ludwig Maximilians Universität München (Alemania) y la Facultad de Ciencias Exactas y Naturales de la Universidad de Buenos Aires (UBA).<br/>
        <br/>
        En 2007 fue incluido en la Site de la «Enciclopedia de Ciencia Ficción y Fantasía en Argentina».<br/>
        <br/>
        Su obra es analizada por Paul Róggendorff (USA) en <i>The Historical (W) Hole: Probing the Unconscious in the Narrative of Post-Dictatorship Argentine Writers</i> (tesis de doctorado sobre la obra de los escritores argentinos Carlos O. Antognazzi, Martín Caparrós, Rodrigo Fresán y Federico Andahazi).<br/>
        <br/>
        En 2004 fue declarado «Ciudadano Santafesino Destacado» por el Honorable Concejo Municipal de la ciudad de Santa Fe. </th>
      <th width="10%" scope="col">&nbsp;</th>
      <th width="40%" valign="top" style="font-size: 12pt; font-family: Arial; text-align: justify;" scope="col"> Carlos O. Antognazzi was born on May 14, 1963, in Santa Fe (Argentina). He lives in Santo Tomé (Santa Fe).<br/>
        <br/>
        Writer, freelance journalist, critic, and professor. In 1985, he was chief of the editorial department of the “La Voz” daily in Santo Tomé (Santa Fe). Between 1984 and 1994, he contributed as a critic to the Santa Fe “El Litoral” daily’s cultural supplement. He also contributed to cultural supplements of the “La Capital” (Rosario), “La Voz del Interior” (Córdoba), “El Diario” (Paraná, Entre Ríos), “Castellanos” (Rafaela, Santa Fe), “El Santotomesino” (Santo Tomé, Santa Fe), “El Tábano” (Rafaela, Santa Fe) dailies and to various magazines, including: “Gaceta Literaria” (Santa Fe), “Quemar las naves” (Formosa), “Clepsidra” (Buenos Aires), “Cuásar” (Buenos Aires), “El grillo” (Buenos Aires), “Axxón” (Buenos Aires), “Entre Vista” (Santa Fe), and “Hoy y mañana” (Santa Fe).<br/>
        <br/>
        He interviewed writers such as José Saramago, Juan Goytisolo, Mario Benedetti, Abelardo Castillo, Abel Posse, and César Aira for various media outlets.<br/>
        <br/>
        A selection of these articles, presentations at congresses, and interviews was published in the book <i>Apuntes de literatura</i> (1995).<br/>
        <br/>
        His short stories were translated into Italian and English. Some of them are going around the Internet. He edits articles for the «Mundo Cultural Hispano» online portal. He is part of anthologies in Spain, United States, Italy, Mexico and Argentina.<br/>
        <br/>
        In 1996, he organized and coordinated the «First Contemporary Thought Cycle» [Primer Ciclo de Pensamiento Contemporáneo], which resulted in the publishing of the book <i>La cultura en el fin de siglo</i> (1997), which he compiled.<br/>
        <br/>
        He is the coordinator of literary workshops in Santo Tomé and Santa Fe. In addition, he proofreads texts by other authors, and works in designing and laying out books and as a ghost writer. He is a literary contest judge.<br/>
        <br/>
        He teaches courses, conferences and workshops in writer's congresses and meetings. He has made presentations at the Nacional del Litoral, UNL, (Santa Fe, Argentina); Nacional del Nordeste (Corrientes, Argentina); Zulia (Maracaibo, Venezuela), Privada Boliviana, UPB (Cochabamba, Bolivia) universities. He has received fellowships from the governments of Argentina, Spain and Venezuela.<br/>
        <br/>
        In 1997, he was included in the «Contemporary Argentinean Literature» [Literatura Argentina Contemporánea] website, organized by the University of Minnesota (United States), the Ludwig Maximilians Universität München (Germany) and the School of Exact and Natural Sciences of the University of Buenos Aires (UBA).<br/>
        <br/>
        In 2007, he was included in the «Encyclopedia of Science Fiction and Fantasy in Argentina” [Enciclopedia de Ciencia Ficción y Fantasía en Argentina] website.<br/>
        <br/>
        His work was analyzed by Paul Róggendorff (USA) in <i>The Historical (W) Hole: Probing the Unconscious in the Narrative of Post-Dictatorship Argentine Writers</i> (doctoral dissertation on the work of Argentinean authors Carlos O. Antognazzi, Martín Caparrós, Rodrigo Fresán and Federico Andahazi).<br/>
        <br/>
        In 2004, he was named «Outstanding Santa Fe Citizen» by the Honorable Municipal Council of the city of Santa Fe. </th>
    </tr>
</table>
</div>
<!-- TemplateEndEditable -->


Como puedo solucionar esto...

Por Siriö

624 de clabLevel

4 tutoriales
1 articulo

 

Germany

msie7
Citar            
MensajeEscrito el 29 Jun 2009 07:07 pm
No necesitas poner eso del medi screen ahi, sólo dejalo asi

Código :

div#footer{ 
   position: fixed; 
  } 


"fixed" sólo es incompatible con IE6, el resto de navegadores lo interpreta bien.

Por drarock

Claber

705 de clabLevel

3 tutoriales

Genero:Femenino  

Lima, Peru

firefox
Citar            
MensajeEscrito el 30 Jun 2009 07:17 pm
Si, salio, pero otro problemita, al F12 solo aparece una mitad arriba y otra mitad abajo despues de ir a otra solapa del navegador y volver se arregla, lo que resulta incomodo.
que se vea iferior siempre...

Por Siriö

624 de clabLevel

4 tutoriales
1 articulo

 

Germany

msie7
Citar            
MensajeEscrito el 01 Jul 2009 06:17 pm
Debe ser por que tienes dos reglas con el selector div#footer, en la primera tienes position: absolute; y la que te dije que arregles tiene el position:fixed; sólo deja un solo div#footer, y solamente con el position: fixed; la linea que dice position:absolute quitala.

Por drarock

Claber

705 de clabLevel

3 tutoriales

Genero:Femenino  

Lima, Peru

firefox

 

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