<!DOCTYPE html> <html class="reftest-print"> <head> <meta charset="utf-8"> <title></title> <style type="text/css"> html { direction: rtl; } div { background-color: green; border-left: green none 0px; border-right: green none 0px; height: 50px; left: 100px; margin-left: 0px; margin-right: 0px; position: fixed; right: 100px; top: 0px; width: 100px; } </style> </head> <body> <div></div> </body> </html>