<style type='text/css'> div { position: relative; display: inline; } p { position: absolute; top: -15px; left: 10px; color: silver; z-index: 1; } input { position: relative; background-color: transparent; z-index: 2; } </style> <div> <p>Напиши текст...</p> <input type='text' /> </div>