[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 325
  • Last Modified:

Submit buttons that look like plain text

Hello,

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

Tom
0
TomMonkey
Asked:
TomMonkey
1 Solution
 
RoonaanCommented:
You can use the following style elements:
border:none;background:transparent;padding:0;display:inline;text-decoration:underline

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.

-r-
0
 
Swapnil PipariaArchitectCommented:
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" >

Regards,
NetSwap
0
 
rbadaroCommented:
Hi,

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

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

or

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

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now