How to prevent div's from exceeding certain widths when using css percentages?

How to prevent div's from exceeding certain widths when using css percentages?

I am trying to design a site using Jquery Mobile Framework that I want to be able to be viewed also on a regular pc and look fine. my problem currently is that everything stretches out to the necessary widths I set for mobile screens and looks terrible on a normal PC screen. Is there a way I can set things to NOT exceed a determined width on larger screens? Thanks!

here is my css im currently using for the logo resize:

  1. #logo-center {
  2.     width: 100%;
  3.     text-align: center;
  4.     margin-right: 0;
  5.     margin-left: 0;
  6. }

  7. #logo-center img {
  8.     width: 80%;
  9. }