change position of button css code example
Example 1: how to change the position of a button in css
#mainbutton {
position: relative;
bottom: 30px;
}
Example 2: Move button in CSS
<html>
<head>
</head>
<body>
<div style = "position:relative; left:80px; top:2px; background-color:yellow;">
This div has relative positioning.
</div>
</body>
</html>