I am trying to align a tab button to the right of the screen but all I get get close to is it facing the wrong way and get close to the right. Here is my code and the image.
div#olark_tab {
position: fixed;
right: 0;
bottom: 50%;
z-index: 5000;
}
#olark_tab div {
height: 150px;
width: 150px;
float: right;
transform: rotate(-90deg);
}
#olark_tab a {
background-color: grey;
opacity: 0.5;
color: aqua;
font: bold 18px "century gothic";
height: 20px;
padding: 6px;
border: 2px solid #363636;
display: block;
text-decoration: none;
text-align: center;
width: auto;
border-bottom-right-radius: 9px;
border-bottom-left-radius: 9px;
border-top-style: none;
border-top-width: 0;
}
#olark_tab a:hover {
background-color: white;
color: aqua;
}
<div id="olark_tab">
<div>
<a href="javascript:void(0);" onclick="olark('api.box.expand')">
Click to chat
</a>
</div>
</div>
How would I get it the the edge of the right side?
