To remove the border, you can simply use border:0;
. Alternatively, border:none
works just as well, but remember to close your <img>
tag if you had left it open. Below is the corrected code:
<html>
<head>
<title>Forsaken </title>
<link href="main.css" rel="stlesheet" type="text/css">
</head>
<body>
<button class="topLeft clear-border"><a href="teams"><img src="icon1.jpg"></a></button>
<button class="topRight clear-border"><a href="store"><img src="icon1.jpg"></a></button>
<button class="bottomLeft clear-border"><a href="sponsors"><img src="icon1.jpg"></a></button>
<button class="bottomRight clear-border"><a href="aboutus"><img src="icon1.jpg"></a></button>
</body>
</html>
**CSS**
.topLeft{
position: absolute;
top:1;
left:1;
}
.topRight{
position: absolute;
top:1;
right: 1;
}
.bottomleft{
position: fixed;
left: 1px;
}
.bottomright{
position: fixed;
right: 1px;
}
.clear-border{
border:0;
}