I am looking to create a flexible layout and would like to achieve the following:
width:100%-200px;
This means having a div that contains content, referred to as div id="content"
, with a fixed margin on each side. I have attempted to place the div id="content"
inside another div container with a margin, but I am unsure of how to fill in the background of the div id="content
. Is there a way to instruct the div id="content"
to utilize 100% of the available space as the background so that the combined width of the content and margin does not exceed 100% of the browser window size?