<!DOCTYPE html> <head> <style> span { float: left; border: 1px solid green } </style> </head> <body> <span style="position: static; border: 1px solid green">Test<br>Test</span> </body>