Murray Brown
asked on
ASP.net VB.net Build that looks like a button
Hi
In my ASP.net web app I use the following code to create a link that will appear in emails. I want the link to look more like a button, possibly with
a gradient affect. How would I do this? Thanks
In my ASP.net web app I use the following code to create a link that will appear in emails. I want the link to look more like a button, possibly with
a gradient affect. How would I do this? Thanks
oLink = "http://xxxxx.azurewebsites.net/progressive_report?oLoadShaft=" & Replace(oShaft, " ", "%20")
oHBody = oHBody & "<br>"
oHBody = oHBody & "<a href=" & oLink & ">" & oShaftandRegion & "</a>"
oHBody = oHBody & "<br>"
Here is another example-
.button {
font: bold 11px Arial;
text-decoration: none;
background-color: #EEEEEE;
color: #333333;
padding: 2px 6px 2px 6px;
border-top: 1px solid #CCCCCC;
border-right: 1px solid #333333;
border-bottom: 1px solid #333333;
border-left: 1px solid #CCCCCC;
}
<a href="#" class="button">Example</a>
ASKER
Thanks. How would I change my link so that the css is inside it?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ok will do. Thank you both
You need to apply css on your link. Check this example from w3schools-
https://www.w3schools.com/css/tryit.asp?filename=trycss_link_advanced