Hi,
I think you are trying to aling both divs to the left, if that is the case then:
Try making the content div a display grid, like so
display: grid; grid-template-columns: 1fr;
and add the footer as a child to the content div should do the trick.
But you may need to keep adjusting as you build along, hope that helps.
So where exactly I add these grids? Can you give an example?
You have a div with an id of content correct. Well just add the css code I mention to that div, hope that makes sense.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi,
I think you are trying to aling both divs to the left, if that is the case then:
Try making the content div a display grid, like so
display: grid;
grid-template-columns: 1fr;
and add the footer as a child to the content div should do the trick.
But you may need to keep adjusting as you build along, hope that helps.
So where exactly I add these grids? Can you give an example?
You have a div with an id of content correct. Well just add the css code I mention to that div, hope that makes sense.