How to stretch full height of a div using CSS? [closed]

Tags: html,css

Problem :

How to stretch full height of a div using CSS?

I'm trying to stretch a div 100%. Applied min-height: 100%; but no result.

Solution :

In your css, try add this, it work for me :)

    width: 100%; 
    height: 100%; 
    position: fixed; 
    top: 0; 
    left: 0;

    CSS Howto..

    How to magnify a pure CSS menu item when hovering using JS?

    How to fix this arrow shape created using CSS in IE9

    How to fade in and out text and css using jquery

    How do CSS sprites work?

    How to use both jQuery styles and css style sheet?

    How do negative margins in CSS work and why is (margin-top:-5 != margin-bottom:5)?

    How to prevent text overflow when using Angular UI Bootstrap

    Jquery - 100% width slideshow whilst keeping the height propotional

    How to change text from black to white upon hover on background black?

    Increasing font size for links on hover changes background color size, how to stop this?

    How to center absolute div horizontally using CSS?

    How to target Android stock/native browser to adjust CSS

    How to get content of a specific css column

    How to make the click logo appear without a href in css/html?

    How to set a default location of a scrollbar

    How to set content area div height with dynamic header div

    How to add a picture to the top of my webpage?

    How to apply remaining width to a div in the middle of 2 other divs

    How can I expand this tag?

    css transform. How to get rotation degree value from “matrix( 0, 1, -1, 0, 0, 0”)?

    How to set fixed auto width in tab-content bootstrap?

    How would I go about making my q and a page like this:

    Selected text showing oversized selection area

    How can I make a background image of a site start off fitting to screen and then zoomable?

    How to get a picture randomly move and turn towards the changing direction around a page? (using jQuery & css)

    How to center in div without text-align?

    How implement google fonts when download the font in collection?

    CSS Newbie - How to dynamically move buttons

    How to add image and change visibility on hover CSS

    How to create a vertical clickable divider|line in bootstrap?