I have a div that is in my page footer, similar to a footer, the problem is that this div is inside other divs, I wanted it to be the exact size of my body, css. Example:
Yes, in order to have this result since the previous divs interfere with the width of the desired div, you can remove it from the static (normally used) position to absolute and position it. ex:
<style>
div#inner-div{
position: absolute;
width: 100%;
bottom : 0px;
}
<style>
I think I can solve the problem of not being the size of the body, but there are some precautions that you should take into account: