Why doesn't fiels fit in "playground"? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
11th Nov 2021, 1:38 PM
Adilx01
2 Answers
+ 1
Because you set fixed width to chess table, but content/fields are bigger. You can remove width and height of table (than size of table will be enought to fit all content)
11th Nov 2021, 2:44 PM
PanicS
PanicS - avatar
0
} #wrapper{ align-items: center; justify-content: center; margin-left: 50px; margin-top: 100px; } #tabela{ width: 320px; height: 320px; border: 5px solid black; You can change these two selectors declaration to what i have written here ..it should give you your desired result.
12th Nov 2021, 9:13 PM
Okolo Sarah
Okolo Sarah - avatar