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

3rd Jun 2020, 1:58 PM
Hussien Mustafa
Hussien Mustafa - avatar
8 odpowiedzi
+ 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>
3rd Jun 2020, 4:41 PM
JaScript
JaScript - avatar
+ 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.
3rd Jun 2020, 2:01 PM
👑FabVab👑
👑FabVab👑 - avatar
+ 1
Thanks for your kindly
3rd Jun 2020, 3:58 PM
Hussien Mustafa
Hussien Mustafa - avatar
+ 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
4th Jun 2020, 2:45 AM
👑FabVab👑
👑FabVab👑 - avatar
0
Language that i used html
3rd Jun 2020, 2:18 PM
Hussien Mustafa
Hussien Mustafa - avatar
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
3rd Jun 2020, 2:18 PM
Hussien Mustafa
Hussien Mustafa - avatar
0
You can request button: Me: Dear Button please move.
3rd Jun 2020, 3:39 PM
Omkar Kamat
Omkar Kamat - avatar
0
You can use the center tag so that the 0 will appear at the center itself
4th Jun 2020, 12:06 PM
Dhrumil Sheth
Dhrumil Sheth - avatar