+ 6

Guys how do you put a table to centre

Using table format

10th Aug 2019, 5:01 AM
Yaninyz Witt Mwa😊😊
Yaninyz Witt Mwa😊😊 - avatar
4 ответов
+ 8
As calvin sir said using css is better. https://code.sololearn.com/WlXL183j5Ecp/?ref=app
10th Aug 2019, 6:01 AM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar
+ 6
BroFarOps attribute align is deprecated, advisable not to use it. Please use css to align the elements.
10th Aug 2019, 5:38 AM
Calviղ
Calviղ - avatar
+ 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ղ
10th Aug 2019, 5:20 AM
BroFar
BroFar - avatar
+ 2
div{ margin: 0 auto; width:50% }
10th Aug 2019, 5:50 AM
Trinity