Help, why does the link stick out of the button?

The HTML code is just a button wrapped in a hyperlink

This is the CSS code

transform: translate(-80px,0);
background-color: rgb(0, 44, 95);
color: white;
font-size: 15px;
font-weight: bold;
transition: color 0.4s;
vertical-align: top;
height: 10px;
cursor: pointer;


color: rgb(223, 199, 154)


color: rgb(248, 53, 53);


In order to help you we will need to see both your HTML and CSS. Also, you need to paste them in here using the following method so we can see your code properly.

To display your code in here you need to wrap it in triple back ticks. On a line by itself type three back ticks. Then on the first line below the three back ticks paste in your code. Then below your code on a new line type three more back ticks. The back tick on my keyboard is in the upper left just above the Tab key and below the Esc key. You may also be able to use Ctrl+e to automatically give you the triple back ticks while you are typing in the this editor and the cursor is on a line by itself. Alternatively, with the cursor on a line by itself, you can use the </> button above the editor to add the triple back ticks.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.