<!DOCTYPE html> <html> <head> <style> div.foo { margin-bottom: 50%; display: -moz-box; direction: rtl; } </style> </head> <body> <div class="foo"></div> </body> </html>