+ 6
Guys how do you put a table to centre
Using table format
4 Answers
+ 8
As calvin sir said using css is better.
https://code.sololearn.com/WlXL183j5Ecp/?ref=app
+ 6
BroFarOps attribute align is deprecated, advisable not to use it. Please use css to align the elements.
+ 2
here is how I re-did it ...
I used
<table class="p1">
.p1 {
position:absolute;
left: 40%;
top:16%;
border: 2px solid #73AD21;
padding: 1px;
}
https://code.sololearn.com/W2RiuYsGYPl4/?ref=app
edit: thanks CalviÕ²
+ 2
div{
margin: 0 auto;
width:50%
}