help in html codes

Discussion in 'HTML & Website Design' started by silverstripes, Mar 8, 2009.

  1. #1
    can any one give me html code for push button link.....
    i want push button to be black in color with white color words on it....
    plz help.....
     
    silverstripes, Mar 8, 2009 IP
  2. Pintoria

    Pintoria Guest

    Messages:
    38
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    meaning? you need a submit button? check w3c

    in css, you'll declare: { background: #000; color: #fff }

    Good luck!
     
    Pintoria, Mar 8, 2009 IP
  3. KL1528

    KL1528 Guest

    Messages:
    81
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    KL1528, Mar 8, 2009 IP
  4. DGK

    DGK Peon

    Messages:
    73
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    DGK, Mar 8, 2009 IP
  5. silverstripes

    silverstripes Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    thnks for the responce frnds.......but i didnt get what i want.....i am just a beginner in html code

    i have a code here
    <input value="Home" onclick="window.location.href='http://forums.digitalpoint.com/showthread.php?t=1259478" type="BUTTON"/>

    it will give a white button with black letters on it
    i want black button with white letters can any one give codes plz
     
    silverstripes, Mar 9, 2009 IP
  6. superlyrics

    superlyrics Peon

    Messages:
    34
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    study ,thankx
     
    superlyrics, Mar 9, 2009 IP
  7. p.cage09

    p.cage09 Guest

    Messages:
    19
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    you can follow silverstripes and pintoria's idea... it will help you but if you like to study more about the input tag w3schools website
     
    p.cage09, Mar 10, 2009 IP
  8. wp-themes

    wp-themes Banned

    Messages:
    230
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #8
    It's not even the best way to do this, but it will work ;)

    <input value="Home" onclick="window.location.href='http://forums.digitalpoint.com/showthread.php?t=1259478" type="BUTTON" style="background-color: #000000; color: #FFFFFF;" />

    Have used the same button code of yours, and just added a 'hard coded' style to it...
     
    wp-themes, Mar 10, 2009 IP