positioning a button css code example
Example 1: positioning button inside div
<div class="button-div">
<button class="button" type="button" name="button"></button>
</div>
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>
Example 3: html position div
<!DOCKTYPE html>
<html>
<head>
<title>TITLE<title>
<script>
</script>
<style>
</style>
</head>
<body>
<div id='mydiv' style = "position:relative; left:0px; top:100px;">
Hello!
</div>
</body>
<html>
Example 4: what is the default value of the position property in css
position:static; /* is default pos value*/