HTML:
<label class="required" for="username">Email address</label>
CSS:
.required
{
background-image:url(/path/to/your/images/dir/required-field.png);
background-position:top right;
background-repeat:no-repeat;
padding-right:10px;
}
參考文章:http://www.techchorus.net/adding-required-zendform-field-using-css
圖片:required-field.png
沒有留言:
張貼留言