/ Published in: CSS

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
fieldset { border: none; /* trick */ position: relative; } label { font-family: Helvetica,arial,sans-serif; font-size: 15px; font-weight: bold; color: #9F0000; /* trick */ left:10px; top:9px; position:absolute; } input[type="text"] { border:1px solid #CCCCCC; display: block; color:#516064; font-family: Helvetica,arial,sans-serif; font-size:16px; margin-bottom:20px; padding:8px; width:400px; /* trick */ text-indent:75px; }
URL: http://aext.net/2010/02/css-text-indent-style-your-html-form/
Comments
