Ver Mensaje Individual
  #1 (permalink)  
Antiguo 10/05/2015, 07:33
Avatar de JuJoGuAl
JuJoGuAl
 
Fecha de Ingreso: julio-2009
Ubicación: Venezuela
Mensajes: 754
Antigüedad: 14 años, 9 meses
Puntos: 19
section no toma full height

Buenas amigos, estoy diseñando un sitio y trato de hacerlo Responsive, el problema es que el SECTION cuya clase es MAIN no me toma el FULL HEIGHT a pesar que el BODY y HTML lo tienen declarado

Dentro de SECTION coloque ARTICULE, puesto que manejare "secciones" en el Body, y como se me pidio que se viera en Columnas les adiccione una classe llamada COL

Css:

Código CSS:
Ver original
  1. html, body
  2. {
  3.     height: 100%;
  4. }
  5. .main {
  6.   background: url("img/bg.jpg") no-repeat center center;
  7.   -webkit-background-size: cover;
  8.   -moz-background-size: cover;
  9.   -o-background-size: cover;
  10.   background-size: cover;
  11.   display: block;
  12.   height: 100%;
  13.   margin: 0;
  14.   /*min-height: 784px;  */
  15.   padding: 0.5em;
  16. }
  17. .main .articulo {
  18.   background: #fff;
  19.   box-shadow: 5px 5px 20px rgba(20,24,44,0.8);
  20.   color: #000;
  21.   display: block;
  22.   margin-bottom: 2em;
  23.   padding-bottom: 1em;
  24.   text-align: center;
  25.   -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  26.   filter: alpha(opacity=50);
  27.   -moz-opacity: 0.5;
  28.   -khtml-opacity: 0.5;
  29.   opacity: 0.5;
  30. }
  31. .main .articulo h2 {
  32.   font-size: 1.5em;
  33. }
  34. .main .articulo p {
  35.   font-size: 1em;
  36.   line-height: 0.5em;
  37. }
  38. .col{
  39.   width: 40%;
  40.   float: left;
  41.   margin: 50px;
  42. }
  43. @media screen and (max-width:1030px) {  
  44.     .col{
  45.     width: 100%;
  46.     margin: 0px;
  47.     margin-top: 20px;
  48.   }
  49. }

HTML
Código HTML:
Ver original
  1. <section class="main">          
  2.             <article class="articulo col">
  3.                 <h2 class="subtit">Trade Consulting</h2>
  4.                 <p class="texto">
  5.                     <p>Search and selection of suppliers</p>
  6.                     <p>Sample check</p>
  7.                     <p>Purchase order management</p>
  8.                     <p>Payment management</p>                    
  9.                 </p>
  10.             </article>
  11.             <article class="articulo  col">
  12.                 <h2 class="subtit">Quality Control & Factory Audit</h2>
  13.                <p class="texto">
  14.                    <p>Sample Check</p>
  15.                    <p>Laboratory Testing</p>
  16.                    <p>Production Audit</p>
  17.                    <p>Post production inspection</p>
  18.                    <p>Pre-shipment inspection</p>
  19.                    <p>Container loading supervision</p>
  20.                    <p>Health & Safety Standards Audit</p>
  21.                </p>
  22.            </article>
  23.            <article class="articulo col">
  24.                <h2 class="subtit">Logistic Consulting</h2>
  25.                <p class="texto">
  26.                    <p>Cargo Insurance</p>
  27.                    <p>Import and export documentation</p>
  28.                    <p>Door to Door service</p>
  29.                    <p>Port to Port service</p>
  30.                    <p>Cargo tracking</p>
  31.                </p>
  32.            </article>
  33.            <article class="articulo col">
  34.                <h2 class="subtit">Investment Opportunities</h2>
  35.                <p class="texto">
  36.                    <p>New Products</p>
  37.                    <p>New Ideas</p>                    
  38.                </p>
  39.            </article>
  40.        </section>

Cuando se hace ZOOM para probar como se vera en diferentes pantallas los ARTICULE se salen del SECTION o este no llena todo el body, realmente no se que esta pasando :(

Para verlo en vivo (services)

http://jujogual.esy.es/

Última edición por JuJoGuAl; 10/05/2015 a las 08:02 Razón: Agregar Codigo