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 :)

.divName{ 
    width: 100%; 
    height: 100%; 
    position: fixed; 
    top: 0; 
    left: 0;
    background:red;
 }

    CSS Howto..

    How to change CSS in media tag within @media only tags with jquery?

    How to add another text decoration definition with Javascript?

    How to set absolute css path as in jsp

    How to create dynamic table 4 columns per row using GridView?

    How to change CSS based on Season using JavaScript

    Show text underneath image while hovering without disrupting other elements

    How do I highlight only the innermost table row of a nested table?

    How can I place an element at the top of a page using CSS?

    How to center two square blocks in page?

    How can I put an input element on the same line as its label?

    How To Expand A Textarea To 100% Using CSS Only

    How to apply CSS to half of a point feature?

    CSS/Javascript: How to make rotating circular menu with multiple states?

    In CSS, how can I give two styles to same div according to its level on a
      list?

    How can I center a box in CSS?

    How to rearrange these elements with CSS?

    How to implement padding-free sprites in css?

    How to give style (image) for browse button in CSS?

    ASP.NET - How to include CSS only if it isn't alrealy included?

    How to write many functions in one JS function

    How to display a binary search tree using CSS, HTML and a bit of Javascript?

    How to position an image of different size using css?

    How to perfectly center a “plus” sign in a circle using CSS

    HTML/CSS: How to make the sidebar and content follow each other

    How can I have a transparent overlay and center with flex box?

    How to change tr color on mouse over when there is already implemented?

    How do I set the table row heights to minimum except last row?

    How do I add a class to a default bootstrap class

    How to change css display none or block with button click

    How to load one image and use it twice using HTML&CSS? No JS