I am designing a webpage where I have set the container width to 100% to cover the entire screen width. Inside this container, I have multiple DIVs arranged in a grid structure with a float: left property and no fixed width, just a margin of 10px.
Is there a way, through either CSS or jQuery, to make these divs automatically adjust their widths so that they fill the entire container and align themselves to fill any gaps based on the screen size, thereby changing the margins accordingly?