How to make text in submit form, to be bigger size?

Discussion in 'HTML & Website Design' started by basketmen, Jun 20, 2012.

  1. #1
    This is a normal submit form




    i want to make the text 'Click here' to bigger size, any methode is ok.
    i already tried using these below, but still not the right way


    bold code <b>

    or big code <big>

    or h1 code <h1>
     
    basketmen, Jun 20, 2012 IP
  2. cons1t

    cons1t Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    0
    #2
    
    <style>
    .custom-input-bold { font-weight:bold; }
    .custom-input-big { font-size:24px; }
    .custom-input-h1 { font-weight:bold;font-size:24px; }
    </style>
    
    
    <input class="custom-input-bold" type="submit" value="Click here">
    <input class="custom-input-big" type="submit" value="Click here">
    <input class="custom-input-h1" type="submit" value="Click here">
    
    Code (markup):
    Prolly not the bestest way to do it but works fine in chrome.
     
    cons1t, Jun 20, 2012 IP
  3. YusIda JoHn

    YusIda JoHn Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I think you can use css to change the style of input,
    Agree with reply bellow.. :D
     
    YusIda JoHn, Jun 20, 2012 IP
  4. freelanceinphp

    freelanceinphp Member

    Messages:
    134
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    48
    #4
    cons1t is right you can apply css class to it or apply atyle attribute to input type

    <input style="font-weight:bold;font-size:24px;" type="submit" value="Click here">
     
    freelanceinphp, Jun 20, 2012 IP