<!doctype html> <html> <head> <style type="text/css"> html, body, ul, li { margin: 0; padding: 0; } ul { list-style-position: inside; } li { margin: 1em; } span { float: right; } </style> </head> <body> <ul> <li><span>Float</span>Test</li> </ul> </body> </html>