logo
Published on Code2Design (http://code2design.com)

...
in full screen height position

By vinstah
Created Mar 8 2008 - 11:50am

Hi, I've been searching around the web looking for a piece of CSS to control the my <div class="container">...</div> to always fit across the screens height not dependent on screen size or resilution, and can be used in both IE and FF.

I have tried using:

.container
{
background: #000;
margin: 0 auto;
padding-bottom: 6px;
width: 850px;
border: 1px solid #CD0000;
height: 100%
}

but that failed!..

Please brush off some knowledge into my way.

Many thanks,
Vinstah

Another way to do ABSMIDDLE with CSS? › [0]

Source URL:
http://code2design.com/forums/div_class_container_div_in_full_screen_height_position