SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Jul 2009
    Posts
    327
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Remove default styling from Submit button on a form?

    I wanted to make my submit button simply look like a link that says "Click here to submit".. currently what I have for the submit code is below.

    HTML Code:
    <input type="submit" name="submit" value="Send Request">
    Thanks ahead of time!

  2. #2
    Is Still Alive silver trophybronze trophy RetroNetro's Avatar
    Join Date
    Jul 2003
    Location
    Texas
    Posts
    6,883
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    First give this an ID and change the value attribute:
    HTML Code:
    <input type="submit" name="submit" value="Click here to submit" id="submit">
    Then style the button using that ID:
    Code:
    input#submit{
      background:none;
      border:none;
      font-size:1em;
      color:blue;
    }
    Hope it helps.

  3. #3
    SitePoint Addict
    Join Date
    Jul 2009
    Posts
    327
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Perfect!!! Thanks


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •