webcodebase.com Snippets database & Pastebin

Style a button to look like a link

Submitted on 01/12/2008
Authors Comment: This makes a button look like a text-link.
How to use: This works out-of-the-box, feel free to customize it to fit your needs.
Download Snippet:
Snippet:

  1. <style type="text/css">
  2. .submit {
  3.         background: transparent;
  4.         border-top:
  5.         border-right:
  6.         border-bottom: x solid #F;
  7.         border-left:
  8.         color: #F;
  9.         display: inline;
  10.         margin:
  11.         padding:
  12. }
  13.  
  14. *:first-child+html .submit {            /* hack needed for IE */
  15.         border-bottom:
  16.         text-decoration: underline;
  17. }
  18.  
  19. * html .submit {                                /* hack needed for IE */
  20.         border-bottom:
  21.         text-decoration: underline;
  22. }
  23. </style>
  24.  
  25. <input class="submit" type="submit" value="Submit Form">
  26.  

 

Comments:

  1. .jgrvyo | December 11, 2008 at 18:47

    2RO6be <a href="http://hguyvlbvhtyh.com/">hguyvlbvhtyh</a>, [url=http://fmlvoxlkxiqu.com/]fmlvoxlkxiqu[/url], [link=http://qniykxwlzrci.com/]qniykxwlzrci[/link], http://omdjguxaeixn.com/

  2. .dfqcoqoch | December 11, 2008 at 18:47

    IKjzdU <a href="http://ombzvqhyndou.com/">ombzvqhyndou</a>, [url=http://uhzuxuubjsor.com/]uhzuxuubjsor[/url], [link=http://wohpofjukovk.com/]wohpofjukovk[/link], http://gfdaytshldtj.com/

  3. .fvvxgckgmim | December 11, 2008 at 18:47

    tFsyJh <a href="http://aqzgrwvroegy.com/">aqzgrwvroegy</a>, [url=http://dmcubetnjode.com/]dmcubetnjode[/url], [link=http://dehtxsmrpdbj.com/]dehtxsmrpdbj[/link], http://ehnmhkugubql.com/

  4. .jprvaaid | December 11, 2008 at 18:47

    fEn6dc <a href="http://scycxwkxukdo.com/">scycxwkxukdo</a>, [url=http://sgavfdgrfyuu.com/]sgavfdgrfyuu[/url], [link=http://ocrfosvtaher.com/]ocrfosvtaher[/link], http://qdwyisveptwm.com/

  5. .ebuxwtj | December 11, 2008 at 18:47

    6ZEXyZ <a href="http://lmuwqeqlflay.com/">lmuwqeqlflay</a>, [url=http://pyruplatltuv.com/]pyruplatltuv[/url], [link=http://eyazntnovcbj.com/]eyazntnovcbj[/link], http://blaouyxsscly.com/

  6. .rothlepeVilep | December 11, 2008 at 18:47

    <a href=http://gouting.ru/in.cgi?16><img>http://i068.radikal.ru/0911/20/b4c4f08b06c6.jpg</img></a>

  7. .nujoxcckb | December 11, 2008 at 18:47

    KDfl9f <a href="http://hxxniouylndw.com/">hxxniouylndw</a>, [url=http://vzmuaqbdwxte.com/]vzmuaqbdwxte[/url], [link=http://srdbzwnvlptw.com/]srdbzwnvlptw[/link], http://oabrthuuekue.com/

  8. .wzhtxxuur | December 11, 2008 at 18:47

    rxKxqg <a href="http://xgirugfsiowa.com/">xgirugfsiowa</a>, [url=http://wzsefnvralja.com/]wzsefnvralja[/url], [link=http://fbicpgqljync.com/]fbicpgqljync[/link], http://wfzvttsshrbl.com/


New Comment:
Name:
Comment:








Latest News

  • 30/12/09
    Webcodebase is BACK & New updates.
    Hello, Because of a jackass of a friend the main files for Webcodebase was deleted. I Thought everything was lost until i found a backup folder on my old linux box, so i restored WCB Back to its original state. The staff will continue posting snippets and fighting spam. We will also start releasing tools that web masters can use to check their scripts for vulnerabilities. These scripts will have special stars next to them and the "STAFF" tag. Please use these on your own systems only, we are NOT responsible for any damage they may do. We release them purely for educational purposes only! Thanks, Head of WCB, Arne AKA Cypher....
    [Read More]