+ 5
Question regarding tables.
how to make tables with square boxes in html5.If we are writing only a single letter in it.
8 odpowiedzi
+ 3
I have edited your code a bit...
https://code.sololearn.com/WGrxe0PQaHhQ/?ref=app
+ 3
not that ones if i am typing a letter like h in it then it shows a rectangular block.
+ 3
https://code.sololearn.com/WWtD4G65M73q/?ref=app
consider this . I want perfect square boxes in it.
+ 3
okay
+ 1
for square box use same height and width in <td> tags in table.
- 1
Table cells are square boxes.
- 1
You can add input [type='text'] tag inside td tags
- 1
Add this Css:
td h2 {
margin: 0;
}
* show your code when you ask a question next time, will make you get a solution faster. 😊