Jump to content

Css with captcha


sase

Recommended Posts

To prevent the spam with Css
link: http://cssglobe.com/post/1316/fighting-form-spam-with-css

The HTML code


Answer?
<input type="text" name="captcha" id="captcha" />



The CSS code

label.captcha{
display:block;
background:url('../img/toplama.gif') no-repeat 0 0;
height:28px;
line-height:28px;
padding-left:40px;
margin-bottom:.5em; Background-position: center;}



the output image

5348_eRPfasaMkfjcubjFq9MI_t

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...