You could always use JS to set or inject a hidden variable but that seems a bit draconian and will be useless once the user resizes the browsers in the middle of the postback. I think the CSS frameworks do a decent job of abstracting this away and letting the browser/client side handle it. Check out blueprint, 960 grid or the current fave, bootstrap.