Submit buttons that look like plain text

Posted on 2006-03-31
Last Modified: 2010-05-18

I am looking to use asp to change the text on my website rather than using inline frames.  However Now the hyperlinks that I have on the top of the page will need to be replaced by buttons to spark the asp into doing something.  is there anyway of either makeing buttons out of text or buttons that look like text please?  Or can anyone think how I can still use the hyperlinks?  I am trying to keep it all on the same page.

Many thanks

Question by:TomMonkey
    LVL 49

    Expert Comment

    You can use the following style elements:

    Depending on your code you can use:
    - style="border:none;background:transparent;padding:0;display:inline;text-decoration:underline;"
    - assign a class="someclass" and use .someclass {border:none;background:transparent;padding:0;display:inline;text-decoration:underline} in your stylesheet.
    - assign a id, similar to assigning a class.

    LVL 16

    Expert Comment

    by:Swapnil Piparia
    Hi TomMonkey,

    Try following

    I assume that your background color of page is white. otherwise just change border color and background color of following style with your background color of page.

    <input type="button" style="border-width:1px;border-style:solid:border-color:white;background-color:white" >

    LVL 2

    Accepted Solution


    or you can keep your hyperlinks and make them act like a button.

    <a href="javascript:myForm.submit()">link</a>


    <a href="javascript:myJsMethodThatSetsAParameterAndSubmitsAForm()">another link</a>


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Suggested Solutions

    This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
    Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
    In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
    The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now