<!DOCTYPE html> <html> <head> <style id="s"> .a { position: absolute; } </style> </head> <body onload="document.getElementById('s').textContent = '';"> <input class="a"> <input class="a"> </body> </html>