+ 1

Html tables

https://code.sololearn.com/WU9x4kIlyr1S/?ref=app Hey im trying to make tables of 9×9 In a table of 9×9 but all tabels seem to be in one row.. I would apriciate any help please👌🏿

23rd Jul 2019, 4:42 AM
Meir Leibler
Meir Leibler - avatar
5 odpowiedzi
+ 1
Try table { display: inline; }
23rd Jul 2019, 5:09 AM
Calviղ
Calviղ - avatar
+ 1
Thx it worked
23rd Jul 2019, 5:19 AM
Meir Leibler
Meir Leibler - avatar
0
without css intraction, you need to remove 2nd and 3row (c2 and c3) from very first table. All three td should be in single row. Secondly you are missing '=' sign while giving 'id' to tables. Last but not the least, id should be unique, two tags or elements can not have same id . in blow link, tables in single row without css 'inline' property. https://code.sololearn.com/WHXe0Vns4CcZ
11th Nov 2020, 2:14 PM
Owais Akber
Owais Akber - avatar
0
td - is used to create columns in a row.
25th Nov 2020, 9:17 AM
Nafew Ahmed
Nafew Ahmed - avatar
0
For those who are asking what is <span> and <div> allow me to explain Both of them are used to group some html elements in order to apply CSS to them.In this case <span> is used for inline html elements while <div> is used block html elements. Hope it's understood
7th Jan 2022, 11:37 AM
Nano Tech