moz-transform scale decrease div size problem

Viewed 5071

I'm having problems with mozilla moz-transform scale property.
I'm looking for a replacement of the zoom property, which works fine in everything except firefox.

When I want to shrink the div, its "content" does shrink, but the size of the container stays the same, leaving a big gap around other content.

Is there any way I can force the container size to decrease as well?

To clarify I put a simple example here.
Open it in chrome and firefox, you will see the difference.

2 Answers
Related