Try this. Using this solution the width of #content will be 600px unless the media query conditions are hit then the width of #content will be 320px.
#content {width:600px;}
@media only screen and (max-width:320px), only screen and (max-width:640px) and (orientation:landscape){
#content { width:320px;}
}