Drupal Tip: Creating Buttons Picture Form
Drupal development and the button in a form on your site (search form button, the buttons to vote on polls, etc..), Then removed from the standard image with an image do you want to change the way you can quickly and easily is a few little css tricks. As an example, remove the text on a button and want to replace it with the need to use a visual code is approximately as follows:
- #search-block-form .form-submit {
- width:50px;
- height:30px;
- background:url(images/submit-back.jpg) no-repeat;
- border:none;
- padding-top: 40px;
- overflow: hidden;
- }
Here, the process and the desired image on the button to make the background picture of the size of the normal button text button to move to an area further down. Overflow hidden with the record process is completed transaction.
This article has been translated using Google Translate.




.png)









Yeni yorum gönder