I am experiencing an issue with the layout of my website. Here is the code snippet causing the problem:
<div class="xx-row">
<div class="background-image" style="background-image: url('<?php echo theme('background_image', 'url'); ?>');">
<div class="yy-column">
</div>
</div>
</div>
.xx-row {
display: table;
}
.yy-column {
display: table-cell;
}
Despite setting the width to 100%, the columns do not fill the width of the page when viewed in full screen mode. Manually setting the width works, but I prefer not to do this. The desired look can be seen below:
https://i.sstatic.net/S7g6d.png
Upon inspecting the elements, the parent div and xx-row appear fine while the background image after xx-row stretches across the screen correctly. However, the issue lies with the columns as setting it to 100% causes the left column to take up approximately 80% of the screen.