Foros del Web » Creando para Internet » CSS »

Problema al ajustar estilo en IE

Estas en el tema de Problema al ajustar estilo en IE en el foro de CSS en Foros del Web. Hola a todos, estoy maquetando esta web http://www.crmbusiness.biz/inpel/ como podran ver, en Firefox y Chrome se ve bien, sin embargo la testeo en IE 7 ...
  #1 (permalink)  
Antiguo 18/08/2013, 09:53
Avatar de el_cesar  
Fecha de Ingreso: mayo-2001
Ubicación: Cali
Mensajes: 2.423
Antigüedad: 22 años, 10 meses
Puntos: 20
Problema al ajustar estilo en IE

Hola a todos, estoy maquetando esta web http://www.crmbusiness.biz/inpel/ como podran ver, en Firefox y Chrome se ve bien, sin embargo la testeo en IE 7 y 8 y en primer lugar no centra el contenido, y en segundo lugar no ajusta el menú superior, he estado revisandola y para el tema del menú me di cuenta que: si le reduzco el font-size de 2em a 0.1em me reduce todo el espacio y queda bien, sin embargo no he logrado aplicar ese estilo solo a ie, ya intenté con hacks y no los toma, tambien estoy intentando con comentarios condicionales y no se por que no me los toma tampoco,

Este es mi HTML

Código HTML:
Ver original
  1. <!DOCTYPE html>
  2. <html lang="es">
  3.     <title>Maqueta P&aacute;gina Web de Inpel</title>
  4.     <meta charset="utf-8" />
  5.     <meta name="description" content="Maqueta de Inpel" />
  6.     <link rel="stylesheet" href="style.css" />
  7.     <!--[if IE 6.0]>
  8. <link rel="stylesheet" type="text/css" href="css/ie.css" media="screen, projection" />
  9. <![endif]-->
  10. <!--[if IE 7.0]>
  11. <link rel="stylesheet" type="text/css" href="css/ie.css" media="screen, projection" />
  12. <![endif]-->
  13. </head>
  14. </head>
  15.     <header>
  16.         <section id="encabezado">
  17.             <section id="logo">
  18.             <img src="img/logo.gif" id="logo" />
  19.             </section>
  20.            
  21.             <section id="menu">
  22.                
  23.                     <section id="miz">
  24.                     <img src="img/nav_bg_l.png" />
  25.                     </section>
  26.                     <section id="cen">
  27.                       <ul id="css3menu1" class="topmenu">
  28. ...
  29. </ul>
  30.                     </section>
  31.                     <section id="mde">
  32.                     <img src="img/nav_bg_r.png" />
  33.                     </section>      
  34.                
  35.             </section>
  36.            
  37.             <section id="social">
  38.             <img src="img/social.gif" />
  39.             </section>
  40.         <section>
  41.     </header>
  42.     <article>
  43.         <section id="slider">
  44.         <section id="selloinpel">
  45.        
  46.         </section>
  47.         <img src="img/slide1_776x293.jpg" />
  48.         </section>
  49.         <section id="paneles">
  50.             <section id="wid1">
  51.             <img src="img/wid1.gif" />
  52.             </section>
  53.             <section id="wid2">
  54.             <img src="img/wid2.gif" />
  55.             </section>
  56.             <section id="wid3">
  57.             <img src="img/wid3.png" />
  58.             </section>            
  59.         </section>
  60.        
  61.     </article>
  62. </body>
  63.  
  64.  
  65. </html>

y este mi CSS para todos los navegadores

Código XML:
Ver original
  1. @charset "utf-8";
  2. /* CSS Document */
  3. *{
  4.     margin: 0;
  5.     padding:0;
  6.    
  7. }
  8. @font-face {
  9.     font-family: 'pt_sansbold';
  10.     src: url('fonts/PTS75F-webfont.eot');
  11.     src: url('fonts/PTS75F-webfont.eot?#iefix') format('embedded-opentype'),
  12.          url('fonts/PTS75F-webfont.woff') format('woff'),
  13.          url('fonts/PTS75F-webfont.ttf') format('truetype'),
  14.          url('fonts/PTS75F-webfont.svg#pt_sansbold') format('svg');
  15.     font-weight: normal;
  16.     font-style: normal;
  17.  
  18. }
  19. @font-face {
  20.     font-family: 'pt_sansregular';
  21.     src: url('fonts/PTS55F-webfont.eot');
  22.     src: url('fonts/PTS55F-webfont.eot?#iefix') format('embedded-opentype'),
  23.          url('fonts/PTS55F-webfont.woff') format('woff'),
  24.          url('fonts/PTS55F-webfont.ttf') format('truetype'),
  25.          url('fonts/PTS55F-webfont.svg#pt_sansregular') format('svg');
  26.     font-weight: normal;
  27.     font-style: normal;
  28.  
  29. }
  30. body {
  31.     background:#ccc url(img/background.jpg);
  32.     max-width:1600px;
  33.     min-height:200px;
  34.     color: #000;
  35.     font-family:"pt_sansregular", Gadget, sans-serif;
  36.     font-size:0.1em;
  37. }
  38. ...
__________________
Say no more.......

Etiquetas: color, contenido, css3, estilo, 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 12:33.