<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="en"> <head> <title>Bug 249982</title> </head> <body> <div style="font-size: 4em; width: 10em; color: lime; background: green"> <span style="color: red; float: right; margin-right: 40%; width: auto">xx</span>xx </div> </body> </html>