I try to create following: I have centered block width min and max width and I need to place content on left and right of it. When block's width is equal to max width, content on left and right is visible (left and right content represented by shadows):
ex 1 http://dev.graymur.net/example/1.jpg
when browser window is resized to narrower values, central block and left/right blocks shrink proportionally:
ex 2 http://dev.graymur.net/example/2.jpg
and when window width is equal or less min-width of central block, left/right block disappear completely and only central block is visible:
ex 3 http://dev.graymur.net/example/3.jpg
I don't think that this can be achieved with pure HTML/CSS and I can't come up with javascript solution.
Help, please?
UPDATE
The description above might be not clear, in simpler words: I try to create fluid margins for my central block: 0 when bloks is at it's min width.