I'm struggling to articulate my question, so please feel free to suggest a better title or guide me in the right direction.
I'm working on a website using a mix of HTML5 and CSS3, and I want it to display consistently across various browsers.
Here's what I have so far:
It looks good on Firefox 14.0.1, Chrome 21.0.1180.6, and Safari 5.1.7, thanks to some adjustments in the #contenido
line height in the estilo.css file.
Below is a snippet of the CSS code:
html {height:100%;}
body {height:100%;}
div#Tabla {display:table; height:100%;}
div.row.main {display:table-row-group; height:auto; min-height:100%;}
div#main {display: table-cell; position: relative; height:auto; min-height:100%;}
div#contenido {display:inline-block; position: relative;
height:100%; min-height:100%; line-height:100%;}
section {height:auto; min-height:100%;}
When I change the position to absolute, the site looks the same on Chrome 21.0.1180.6, Safari 5.1.7, and Opera 12.
The issue arises in Opera and IE, where the #contenedor
does not reach 100% height. Any suggestions on how to fix this?
I'm new to CSS and styling, so I may not fully understand the problem at hand.
Thank you for your help. :)
P.S. I realize I may have gone overboard with using CSS display:table, but that's where my research led me. Feel free to advise me to take a different approach (I'm already experimenting without tables, but haven't had much success).