+ 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 Answers
+ 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