1
Yes, in order to have this result since the previous Ivs interfere with the width of the desired div you can remove from the static position(the normally used) for absolute and position it. ex:
<style>
div#inner-div{
position: absolute;
width: 100%;
bottom : 0px;
}
<style>
I believe it might solve the problem of not being the size of the body, but there are some precautions you should take into account:
- If the div you want to put with body size has content above and below, will come out of the space that was and if you want be in the same place as before should give this space through the areas that stayed there, or use relative position
- Power position relative if the parent(selector) has position Absolute
Please enter your code so we can help you.
– Roberto de Campos