<!DOCTYPE HTML> <html> <head> <style> body > div { width:200px; height:50px; overflow:auto; border:1px solid black; margin-bottom:2em; } body > div > div { height:10px; background:yellow; } </style> </head> <body> <div> <div style="width:200.1px;"></div> </div> <div> <div style="width:201px;"></div> </div> <div style="direction:rtl;"> <div style="width:200.1px;"></div> </div> <div style="direction:rtl;"> <div style="width:201px;"></div> </div> </body> </html>