Question: I want a button at the right corner of a div. It works fine normally, but upon adding the align="right" to the html, the button doesn't work anymore (although it does align to the right). 

```
<input id="exitbutton" align="right" style="width:15px" type="image" src="images/#"/>

```

Why does this happen?

Answer: 
Ideally `align="right"` is not the property of input tag if you are using HTML5. As you are already applying inline style, you can just apply `float:right` to align input button to the right.

```
<input id="exitbutton" style="width:15px; float:right" type="image" src="images/#"/>

```
`align` property is not for an input field
You can use `float` like this:

```css
input{float:right;}
```

```html
<input id="exitbutton" style="width:15px" type="image" src="images/#"/>
```