constrained div proportions in fluid layout
I have a div container that i want to resize with the browser to a max/min width and height.
Let's say the maximum width is 960px and the minimum is 500px.
How can I have the height of this div adjust and constrain the dimensions with CSS?
Is it possible? My CSS skills go out the window when I have to start playing with percentages and ratios..
Also, my element is centered in the browser, adn I don't want the browser width to be the same as the element before the resizing begins - ie, I would like there to be always right and left margin.
Last edited by Jerico; 06-29-2011 at 05:23 PM.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread