Frames sin usar Frames (con CSS, claro!)

Posted on Enero 10, 2007, under .

Tips Avanzados!Interesante técnica para simular el uso de “frames” con CSS, sin usarlos como los conocemos.

¿Cómo funciona?

The document consists of three main blocks: headerwrap, middlewrap and footerwrap. headerwrap and footerwrap have fixed positions; headerwrap at the top and footerwrap at the bottom of the viewport. middlewrap has padding-top and padding-bottom to match the heights of headerwrap and footerwrap.

To center the content horizontally, the contents of each of the main blocks has its left and right margins set to auto.

Ver la página resultante aquí.

Leave a Comment