Click here to Skip to main content
15,887,027 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
hi there i was tyoing new practical project then i saw this but i really don't know what it can do it was written in the footer and the div above
here:
CSS
* html #footer-wrapper {
        float: left;
        position: relative;
        width: 100%;
        padding-bottom: 10010px;
        margin-bottom: -10000px;
        background: #fff;

CSS
#container .column {
        padding-bottom: 1001em;
        margin-bottom: -1000em;
      }


What I have tried:

the picture of project:
image
Posted
Comments
Graeme_Grant 14-Mar-24 4:13am    
This looks like a very "old school" hack. What is your question?
Alireza Zebardast 14-Mar-24 4:15am    
what it can do i guess it's for fixing the height of the container in the clearfix

1 solution

Floats and clearfix are used for the old IE days. Modern browsers now use Grid[^].

Here is a video that shows you how: Responsive Dashboard Layouts with CSS Grid - YouTube[^]. And here is a series by guru Kevin Powell: The EASIEST way to get started with CSS GRID - YouTube[^]
 
Share this answer
 
Comments
Alireza Zebardast 14-Mar-24 6:30am    
ok i didn't start the css grid or flexbox but tnx

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900