0
How can make tye button move to the midle
Iam trying to make a calculator i didnot know how can i put the last number zero at the midle
8 Respuestas
+ 1
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Page Title</title>
<style>
button{
font-size: 2em;
margin: 0.5em;
}
</style>
</head>
<body>
<button>1</button>
<button>2</button>
<button>3</button><br>
<button>4</button>
<button>5</button>
<button>6</button><br>
<button>7</button>
<button>8</button>
<button>9</button><br>
<button style="position: relative; left: 3.7em;"> 0 </button>
</body>
</html>
+ 3
First of all, You should insert your code with your question and also you haven't written the relevant tags ......
You should also tell us that which programming language you are using ,so don't span here.
+ 1
Thanks for your kindly
+ 1
Sorry for late reply because when you inserted code here was night and I was sleeping .........
Here is your answer
https://code.sololearn.com/WnEIm2cKkhq7/?ref=app
0
Language that i used html
0
<html>
<head>
<title> an culcolate </title>
</head>
<body>
<button>1</button>
<button>2</button>
<button> 3 </button><br>
<button> 4 </button>
<button> 5 </button>
<button> 6 </button><br>
<button> 7 </button>
<button> 8</button>
<button> 9</button><br>
<button align="center"> 0 </button>
</body>
</html
0
You can request button:
Me: Dear Button please move.
0
You can use the center tag so that the 0 will appear at the center itself