Author Topic: How to enhance my submit button  (Read 188 times)


PHP Help Forum

How to enhance my submit button
« on: August 04, 2017, 05:08:09 pm »



PHP Help Forum

Re: How to enhance my submit button
« Reply #1 on: August 05, 2017, 02:21:57 am »


Phaewryn

  • Regular Member
  • **
  • Posts: 27
  • Karma: 0
    • View Profile
    • Phaewryn's File Repository
First add this to your input code line:
1
2
 <input type="submit" value="Subscribe"  class='button' />
 

Then add this in your stylesheet, or in a style tag on the same page:
Code: [Select]
1
2
3
4
5
6
7
8
 input.button {
 padding: 15px 32px; /* makes it bigger change numbers to change size */
 border-radius: 4px; /* round corners change number to change how much */
 border: 2px solid #e7e7e7;  /* silver border */
 background-color: red;  /* background red */
 color: white;  /* white text */
 }
 

PHP Help Forum

Re: How to enhance my submit button
« Reply #2 on: August 22, 2017, 04:39:48 am »