Foros del Web » Creando para Internet » CSS »

Banner en css y html no funciona en IE

Estas en el tema de Banner en css y html no funciona en IE en el foro de CSS en Foros del Web. Saludos a todos, Quien es el Pro que me puede ayudar con este inconveniente, tengo un banner y en Chrome y en Mozilla funciona bien ...
  #1 (permalink)  
Antiguo 24/08/2015, 20:09
Avatar de jhonnymontoya  
Fecha de Ingreso: octubre-2013
Mensajes: 11
Antigüedad: 10 años, 6 meses
Puntos: 1
Pregunta Banner en css y html no funciona en IE

Saludos a todos, Quien es el Pro que me puede ayudar con este inconveniente, tengo un banner y en Chrome y en Mozilla funciona bien pero en IE no, quien me puede ayudar con este tema muchas gracias de antemano.
Subí el error a esta página: podertecnologico.co


html:

Código HTML:
<!doctype html>
<html lang="es" xml:lang="es" xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<link rel="stylesheet" type="text/css" href="css/demo.css" />
		<link rel="stylesheet" href="css/style.css" type="text/css" media="screen">
		<link rel="shortcut icon" href="http://podertecnologico.co/favicon.ico">  
		<meta http-equiv="Content-type" content="text/html;charset=iso-8859-15" />
		<meta name="robots" content="All" />
		<meta name="Revisit-after" content="1 Day" />
		<meta name="author" content="OK Colombia">
		<meta name="viewport" content="width=device-width, user-scalable=yes, minimum-scale=0.4, maximum-scale=1.0">
		<meta name="msvalidate.01" content="0A643BE88A41754F1B1220BA51E2556A" />
		<meta name="geo.region" content="CO-ANT" />
		<meta name="geo.placename" content="Medell&2015 OK Colombia" />
		<meta name="geo.position" content="6.231869;-75.590381" />
		<meta name="ICBM" content="6.231869, -75.590381" />
		<link href="https://plus.google.com/115277859324629335863" rel="publisher" />
		<meta name="Description" content="Regalos, Desayunos y almuerzos en Medellin">
		<meta name="keywords" content="Desayuno, almuerzos, tamal, regalos, Medellin" />
		<title>OK Colombia</title> 
		<script type="text/javascript" src="js/modernizr.custom.53451.js"></script>		
	
				
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-45218910-1', 'podertecnologico.co');
  ga('send', 'pageview');

</script>  	
<script>
(function() {

setInterval(function(){
  var el = document.getElementById('blink');
  if(el.className == 'luz'){
      el.className = 'luz on';
  }else{
      el.className = 'luz';
  }
},500);

})();
</script>


</head>
	<body>

<div class="centroweb">
	<header id="cabeza"> 
		 
		<div class="logo">
			<img src="images/logocorazon.png" USEMAP="#logo1" alt="Logo okcolombia" border=0 width="115" height="90" >
		</div>
		<div class="titulogif"> <!-- Centrar quitar br-->
				<br> <img src="images/conamor2.gif" alt="Titulo Poder Tecnológico" width="398" height="35" BORDER=0 /> 
		</div>		
		<div class="siguenos grises"> <!-- Modificar redes crear OKcolombia 14-->
			<a href="http://podertecnologico.co/mapaweb.html"> <img src="images/mapaweb.png" alt="Mapa Web" width="40" height="40" BORDER=0 title="Mapa Web"> </a>
			<a href="https://www.facebook.com/profile.php?id=100009677883047" target="_blank"> <img src="http://podertecnologico.co/images/siguenosf.png" alt="Facebook" width="38" height="38" BORDER=0 title="Siguenos en Facebook" > </a>
			<a href="https://plus.google.com/115277859324629335863/posts" rel="publisher" target="_blank"> <img src="http://podertecnologico.co/images/siguenosg.png" alt="Siguenos en Google mas" width="38" height="38"  BORDER=0 title="Siguenos en Google +" ></a>
			<a href="http://www.youtube.com/channel/UC70JHe8G-1iWMX2F0ezw9Wg" target="_blank"> <img src="http://podertecnologico.co/images/siguenosy.png" alt="Siguenos en Youtube" width="38" height="38" BORDER=0 title="Siguenos en Youtube" ></a>
			<a href="http://www.linkedin.com/company/technological-power" target="_blank"> <img src="http://podertecnologico.co/images/siguenosi.png" alt="Siguenos en linkedin" width="40" height="40" BORDER=0 title="Siguenos en linkedin" ></a>
		</div>

	</header>
	<nav>
		<ul id="nav">
			<li class="current"><a href="http://podertecnologico.co/index.html">Inicio</a></li>
			<li><a href="http://podertecnologico.co/servicios/clases.html"><span class="luz" id="blink"><b>Servicios</b></span></a>
				<ul>
				
					
					<li><a href="http://podertecnologico.co/servicios/clases.html">Desayunos  »</a>
						<ul>
							<li><a href="http://podertecnologico.co/servicios/clases/ofimatica.html">En Caliente </a></li>
							<li><a href="http://podertecnologico.co/servicios/clases/internet.html">En Frío </a></li>
							<li><a href="http://podertecnologico.co/servicios/clases/internet.html">Infantiles</a></li>
							<li><a href="http://podertecnologico.co/servicios/paginasweb.html">Afecto</a></li>
							<li><a href="http://podertecnologico.co/servicios/paginasweb.html">Ternura</a></li>
							<li><a href="http://podertecnologico.co/servicios/paginasweb.html">Amistad</a></li>
							<li><a href="http://podertecnologico.co/servicios/PruebasSofware.html">Detalles</a></li>
						</ul>
					</li>
					<li><a href="http://podertecnologico.co/servicios/paginasweb.html">Presente</a></li>
					<li><a href="http://podertecnologico.co/servicios/PruebasSofware.html">Regalos</a></li>
					<li><a href="http://podertecnologico.co/servicios/PruebasSofware.html">Almuerzos</a></li>

				</ul>
			</li>
			<li><a href="http://podertecnologico.co/quienessomos.html">Quiénes Somos</a></li>
			<li><a href="http://podertecnologico.co/quienessomos.html">Como comprar</a></li>
			<li><a href="http://podertecnologico.co/menucontacto.html">Contáctenos</a>
				<ul>
					<li><a href="http://podertecnologico.co/contactenos.html">Inquietudes </a></li>
					<li><a href="http://podertecnologico.co/trabaja.html">Contactos</a></li>

				</ul>
			</li>
		</ul>
	</nav>
	<body>
        <br>
			<section id="dg-container" class="dg-container">
				<div class="dg-wrapper">
					<a href="#"><img src="images/1.jpg" alt="image01"><div>Prueba1</div></a>
					<a href="#"><img src="images/2.jpg" alt="image02"><div>Prueba2</div></a>
					<a href="#"><img src="images/3.jpg" alt="image03"><div>Prueba3</div></a>
					<a href="#"><img src="images/4.jpg" alt="image04"><div>Prueba4</div></a>
					<a href="#"><img src="images/5.jpg" alt="image05"><div>Prueba5</div></a>
					<a href="#"><img src="images/6.jpg" alt="image06"><div>Prueba6</div></a>
					<a href="#"><img src="images/7.jpg" alt="image07"><div>Prueba7</div></a>
					<a href="#"><img src="images/8.jpg" alt="image08"><div>Prueba8</div></a>
				</div>
				<nav>	
					<span class="dg-prev">&lt;</span>
					<span class="dg-next">&gt;</span>
				</nav>
			</section>

			<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
			<script type="text/javascript" src="js/jquery.gallery.js"></script>
			<script type="text/javascript">
			$(function() {
				$('#dg-container').gallery({
					autoplay	:	true
				});
			});
			</script/>
    </body>
</html> 
Código CSS:
Ver original
  1. [B]
  2. CSS:[/B]
  3.  
  4. .dg-container{
  5.     width: 100%;
  6.     height: 450px;
  7.     position: relative;
  8. }
  9. .dg-wrapper{
  10.     width: 481px;
  11.     height: 316px;
  12.     margin: 0 auto;
  13.     position: relative;
  14.     -webkit-transform-style: preserve-3d;
  15.     -moz-transform-style: preserve-3d;
  16.     -o-transform-style: preserve-3d;
  17.     -ms-transform-style: preserve-3d;
  18.     transform-style: preserve-3d;
  19.     -webkit-perspective: 1000px;
  20.     -moz-perspective: 1000px;
  21.     -o-perspective: 1000px;
  22.     -ms-perspective: 1000px;
  23.     perspective: 1000px;
  24. }
  25. .dg-wrapper a{
  26.     width: 482px;
  27.     height: 316px;
  28.     display: block;
  29.     position: absolute;
  30.     left: 0;
  31.     top: 0;
  32.     background: transparent url(../images/browser.png) no-repeat top left;
  33.     box-shadow: 0px 10px 20px rgba(0,0,0,0.3);
  34. }
  35. .dg-wrapper a.dg-transition{
  36.     -webkit-transition: all 0.5s ease-in-out;
  37.     -moz-transition: all 0.5s ease-in-out;
  38.     -o-transition: all 0.5s ease-in-out;
  39.     -ms-transition: all 0.5s ease-in-out;
  40.     transition: all 0.5s ease-in-out;
  41. }
  42. .dg-wrapper a img{
  43.     display: block;
  44.     padding: 41px 0px 0px 1px;
  45. }
  46. .dg-wrapper a div{
  47.     font-style: italic;
  48.     text-align: center;
  49.     line-height: 50px;
  50.     text-shadow: 1px 1px 1px rgba(255,255,255,0.5);
  51.     color: #333;
  52.     font-size: 16px;
  53.     width: 100%;
  54.     bottom: -55px;
  55.     display: none;
  56.     position: absolute;
  57. }
  58. .dg-wrapper a.dg-center div{
  59.     display: block;
  60. }
  61. .dg-container nav{
  62.     width: 58px;
  63.     position: absolute;
  64.     z-index: 1000;
  65.     bottom: 40px;
  66.     left: 50%;
  67.     margin-left: -29px;
  68. }
  69. .dg-container nav span{
  70.     text-indent: -9000px;
  71.     float: left;
  72.     cursor:pointer;
  73.     width: 24px;
  74.     height: 25px;
  75.     opacity: 0.8;
  76.     background: transparent url(../images/arrows.png) no-repeat top left;
  77. }
  78. .dg-container nav span:hover{
  79.     opacity: 1;
  80. }
  81. .dg-container nav span.dg-next{
  82.     background-position: top right;
  83.     margin-left: 10px;
  84. }
  #2 (permalink)  
Antiguo 25/08/2015, 15:08
 
Fecha de Ingreso: julio-2015
Ubicación: Lima - San Miguel
Mensajes: 13
Antigüedad: 8 años, 9 meses
Puntos: 1
Respuesta: Banner en css y html no funciona en IE

Hola,
Debes especificar en que version de internet explorer no funciona, ya que estube probando en el internet explorer 11 y si funciona bien, ademas de eso debes poner que error sale en internet explorer y poderlo como parte de la explicación para asi tener mas datos y poder ayudate.
Saludos Cordiales.
  #3 (permalink)  
Antiguo 26/08/2015, 13:09
Avatar de jhonnymontoya  
Fecha de Ingreso: octubre-2013
Mensajes: 11
Antigüedad: 10 años, 6 meses
Puntos: 1
Respuesta: Banner en css y html no funciona en IE

El error se ve en la version 11 de IE la diferencia de uno con el otro es la siguiente

http://podertecnologico.co/images/Errro.png



Agradezco su colaboración
  #4 (permalink)  
Antiguo 26/08/2015, 19:45
Avatar de AngelKrak  
Fecha de Ingreso: noviembre-2014
Mensajes: 917
Antigüedad: 9 años, 5 meses
Puntos: 91
Respuesta: Banner en css y html no funciona en IE

si el error que tienes es que el de en medio queda por debajo de los otros 2, solo dale un z-index ;)
Código CSS:
Ver original
  1. .dg-center {
  2. z-index: 9999999;
  3. }
  #5 (permalink)  
Antiguo 27/08/2015, 09:01
Avatar de jhonnymontoya  
Fecha de Ingreso: octubre-2013
Mensajes: 11
Antigüedad: 10 años, 6 meses
Puntos: 1
Respuesta: Banner en css y html no funciona en IE

AngelKrak gracias pero no me funciono
Este es el Banner original que encontre en internet y tampoco funciona en IE

https://drive.google.com/file/d/0BzXuB5URmbrYNmhDdTcxSjNkZDA/view?usp=sharing


[URL="https://drive.google.com/file/d/0BzXuB5URmbrYNmhDdTcxSjNkZDA/view?usp=sharing"]https://drive.google.com/file/d/0BzXuB5URmbrYNmhDdTcxSjNkZDA/view?usp=sharing[/URL]

si alguien me puede ayudar teniendo el codigo lo pueden probar y explicar que esta malo.
  #6 (permalink)  
Antiguo 27/08/2015, 11:24
Avatar de AngelKrak  
Fecha de Ingreso: noviembre-2014
Mensajes: 917
Antigüedad: 9 años, 5 meses
Puntos: 91
Respuesta: Banner en css y html no funciona en IE

a mi me sirve con esto amigo, prueba a hacerlo y cuentame ;)

Busca .dg-wrapper a y agrega z-index: -10; al final ;)

Abajo de ese agrega esta clase ;)
Código CSS:
Ver original
  1. .dg-wrapper a.dg-center {
  2.     z-index: 10;
  3. }

  #7 (permalink)  
Antiguo 31/08/2015, 08:09
Avatar de jhonnymontoya  
Fecha de Ingreso: octubre-2013
Mensajes: 11
Antigüedad: 10 años, 6 meses
Puntos: 1
Respuesta: Banner en css y html no funciona en IE

AngelKrak muchas pero muchas gracias si me funciono
  #8 (permalink)  
Antiguo 31/08/2015, 13:05
Avatar de AngelKrak  
Fecha de Ingreso: noviembre-2014
Mensajes: 917
Antigüedad: 9 años, 5 meses
Puntos: 91
Respuesta: Banner en css y html no funciona en IE

de nada jejeje, aqui ando para ayudarte ;)

Etiquetas: css+dinamicos, html
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 03:21.