Ver Mensaje Individual
  #1 (permalink)  
Antiguo 07/02/2012, 11:57
Yoso
 
Fecha de Ingreso: agosto-2011
Ubicación: Xalapa
Mensajes: 10
Antigüedad: 12 años, 8 meses
Puntos: 0
Tabla en IE8 y Firefox?

Pues les vengo maneujando una tabla que al correrlo en Firefox (10), lo muestra de manera perfecta sin problema alguno con el CSS que definì en css/default.css. Pero al correrlo en IE 8 no se ve para nada el estilo definido por el css y se ve simplemente una tabla bien mal hecha y sucia (la bàsica pues jeje).

Entonces no se si haya problemas de incompatibilidad, cosa que no creo porque no estoy usando funciones mas que la de background, border y letras en la tabla. Entonces quisiera saber al menos que podria estar pasando, ya hasta quite la herencia y se la añadi internamente a la pagina para ver si asi, pero pues nada de nada.

Adjunto el codigo.

Código HTML:
<html>
<title> Prueba de VW </title>
<html>
<title> Prueba de VW </title>
<style type="text/css">
.Estilo1 {
	color: #CCCCCC;
	font-weight: bold;
}
.Estilo2 {
	font-size: 24px;
	font-family: Arial, Helvetica, sans-serif;
	font-style: italic;
}
.Estilo3 {color: #999999}
.Estilo4 {color: #999999; font-weight: bold; }
.Estilo5 {font-size: 18px}

dd {
	font-family: "Times New Roman", Times, serif;
	font-size: 12px;
	font-weight: bold;
	color: #0000FF;
}
dt {
	font-family: "Times New Roman", Times, serif;
	font-size: 14px;
	font-weight: bold;
	color: #000000;
}

dt {
display: block;
width:50px;
color: #000;
text-decoration:none;
text-align:center;
}

dt:active{
color:#fff;
}

dt:hover,
dt:focus:hover {
color:#0066FF
}

a {
     color: #454545; 
     text-decoration: none;
}

a:hover {
    color: #414141;
    text-decoration: none;
}

busqueda {
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #036;
}

busqueda caption {
	font-size: 48px;
	color: #036;
	font-weight: bolder;
	font-variant: small-caps;
}

busqueda th {
	font-size: 12px;
	color: #FFF;
	background-color: #06C;
	padding: 8px 4px;
	border-bottom: 1px solid #015ebc;
}

busqueda table {
	margin: 0;
	padding: 0;
	border-collapse: collapse;
	border: 1px solid #06C;
	width: 35%
}


busqueda thead th {
	background-image: url(http://www.csslab.cl/csstablegallery/imgs/thead_back.gif);
	background-repeat: repeat-x;
	background-color: #06C;
	height: 30px;
	font-size: 18px;
	text-align: center;
	text-shadow: #333 2px 2px;
	border: 2px;
}

busqueda thead2 th {
	background-image: url(http://www.csslab.cl/csstablegallery/imgs/thead_back.gif);
	background-repeat: repeat-x;
	background-color: #06C;
	height: 30px;
	font-size: 13px;
	text-align: center;
	text-shadow: #333 2px 2px;
	border: 2px;
}


</style>
</html><!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" lang="es" xml:lang="es">
<head>
	<title>TITULO DE LA WEB</title>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	<link rel="stylesheet" type="text/css" href="css/default.css" />
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script>
	<script type="text/javascript">
    $(document).ready(function(){
      	$("dd").hide();
	$("dt").click(function(event){
             var desplegable = $(this).next();
             $('dd').not(desplegable).slideUp('fast');
              desplegable.slideToggle('fast');
              event.preventDefault();
              })
        });
	</script>
</head>
<body>
<form method="Post" action="resultadoBusqueda.asp"> 
<busqueda>
<table>
<thead><tr><th scope="col">Busqueda</th>
<th scope="col"><input type="text" value="" name="palabra" size="50" /></th><th scope="col"><input type="submit" name="boton1" value="Ir" /></th></tr></thead>
<tbody/>
</table>
</busqueda>
</form> 
y este es el css...

Código HTML:
busqueda th {
	font-size: 12px;
	color: #FFF;
	background-color: #06C;
	padding: 8px 4px;
	border-bottom: 1px solid #015ebc;
}

busqueda table {
	margin: 0;
	padding: 0;
	border-collapse: collapse;
	border: 1px solid #06C;
	width: 35%
}

busqueda th a:link, busqueda th a:visited {
	color: #FFF;
	text-decoration: none;
	border-left: 5px solid #FFF;
	padding-left: 3px;
}

busqueda th a:hover, busqueda th a:active {
	color: #F90;
	text-decoration: line-through;
	border-left: 5px solid #F90;
	padding-left: 3px;
}

busqueda tbody th:hover {
	background-image: url(http://www.csslab.cl/csstablegallery/imgs/tbody_hover.gif);
	background-position: bottom;
	background-repeat: repeat-x;
}

busqueda td {
	background-color: #f2f2f2;
	padding: 4px;
	font-size: 12px;
}

busqueda td:hover {
	background-color: #f8f8f8;

}

busqueda td a:link, busqueda td a:visited {
	color: #039;
	text-decoration: none;
	border-left: 3px solid #039;
	padding-left: 3px;
}

busqueda td a:hover, busqueda td a:active {
	color: #06C;
	text-decoration: line-through;
	border-left: 3px solid #06C;
	padding-left: 3px;
}

busqueda th {
	text-align: left;
	width: 150px;
}

busqueda tr {
	border-bottom: 1px solid #CCC;
}

busqueda thead th {
	background-image: url(http://www.csslab.cl/csstablegallery/imgs/thead_back.gif);
	background-repeat: repeat-x;
	background-color: #06C;
	height: 30px;
	font-size: 18px;
	text-align: center;
	text-shadow: #333 2px 2px;
	border: 2px;
}

busqueda thead2 th {
	background-image: url(http://www.csslab.cl/csstablegallery/imgs/thead_back.gif);
	background-repeat: repeat-x;
	background-color: #06C;
	height: 30px;
	font-size: 13px;
	text-align: center;
	text-shadow: #333 2px 2px;
	border: 2px;
}

busqueda tfoot th {
	background-image: url(imgs/tfoot_back.gif);
	background-repeat: repeat-x;
	background-color: #036;
	height: 30px;
	font-size: 28px;
	text-align: center;
	text-shadow: #333 2px 2px;
}

busqueda tfoot td {
	background-image: url(imgs/tfoot_back.gif);
	background-repeat: repeat-x;
	background-color: #036;
	color: FFF;
	height: 30px;
	font-size: 24px;
	text-align: left;
	text-shadow: #333 2px 2px;
}

Cualquier ayuda es bienvenida y agradecida...