<!DOCTYPE html> <html> <head> <style type="text/css"> div:first-letter { float: right; } </style> </head> <body><div>A</div></body> </html>