make css boxes grow and shrink to resolution

I know monitors are different resolution so how would I make sure that the content within the body tag is stretched accordingly?
I have a bunch of
<div> </div>

Open in new window

in a css and it works fine on my monitor at 1300X
but I'm afraid it will be messed up on lower resolutions.

is there a way to encapsulate the whole thing so its relative to the container?
 if so how thanks
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Peter HutchisonSenior Network Systems SpecialistCommented:
Add to the top of the web page this CSS code:

<style type="text/css">
Content { width=100%; }

Also check all tags for web items such as boxes, tables and so on  and make sure that any widths and heights are set using percentages rather than pixels so that they auto-resize if the window size changes.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
If everything is defaulted with no element level styling then the best approach would be:

<style type="text/css">
body { width=100%; }

However without a link to the page We have no way of knowing if the actual structure will be broken by a gross application.  Best practice is to deal with elements of the layout individually so there are no surprises.

bbimisAuthor Commented:
aw so always use % .  good to know. I was using the <value>px method.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.