How to Make a Button a Link With No Border
When creating a button and adding a link to it, the HTML code will contain specifications for how the button will appear on a published webpage. A "Border" parameter is one specification that may be identified in the code. By changing the value associated with the "Border" parameter, you can change the appearance of a border around a button link.
Instructions
-
-
1
Log in to your Web server and open the HTML page that includes the button link code.
-
2
Locate the button link HTML code in the <body> section of the page. The code will be formatted like this:
<A HREF="http://www.website.com"><IMG SRC="http://www.website.com/smallimage.jpg"
BORDER=1 HEIGHT=20 WIDTH=65 </A>
In this instance "IMG SRC" refers to the location where the image is saved and "A HREF" refers to the location destination of the link.
-
-
3
Replace "BORDER=1" with "BORDER=0." If no border code exists in the HTML code, insert "Border=0" directly after the image source file path or URL. Alternately, change "0" or "1" to a larger number to increase the border size.
-
4
Publish the page.
-
1