I’ve done this in the past, but forgot how to do it.
How can I set a “master” container in css/xhtml and have the website resize with the browser window when resized?
For example, if I have a “master” container div of 500px by 500px and a user resizes their browser window, how can I get that container to resize with it?
Thanks.
Simply use
max-heightandmax-widthinstead ofheightandwidth.