I have a div that I want to have the following characteristics:
Here you go: Detecting a browser resize using JQuery.