Hello, please could you help me, I am having a problem.
I have a web page layout which has in the middle a DIV with the following details:
margin: 5px 145px 5px 145px;
padding: 5px 5px 5px 5px;
border: 1px solid #000000;
border-top: 1px solid #000000;
In the <div class="content"></div> tags, I want to place a table that will fill the width of the DIV.
In the HTML:
In the CSS:
When I try this, the table that is within the DIV expands to fill 100% of the screen width, I do not want this, I want the table to fill only the width of the DIV (which is always the width of the browser window minus a certain number of pixels. As people use their browsers at different widths, I need a way to force the table to only occupy the width of the DIV.
I hope you can help, many thanks.