Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css add margin to a particular div in print screen

html, body{
        height: 100%;
        margin: 0;
    }
    .main{
        min-height: 100%;
        position: relative;
    }
    .main-template-footer {
        height: 50px;
        bottom: 0;
        position: absolute;
        width: 100%;
    }
    .main-template-body {
        padding-bottom: 50px;
    }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #css #add #margin #div #print #screen
ADD COMMENT
Topic
Name
8+4 =