I work on template using html and css . i face issue i work on design table template using html and css
on first column have 3 rows and second column 2 rows
so in second columns i can't design html second column to be 2 rows only
so can you help me please
what i try
Code
Performance Rating for
last two years
Disciplinary letters (in last two years)
Year
Year
web design for table below


Uday DodiyaRank #239 · 10.3K reputationPosted Sep 26, 2023, 1:10 AM EDT
Hi, try below code to get desired output
table { border-collapse: collapse; width: 100%; } th, td { border: 1px solid #000; padding: 8px; text-align: center; } Performance Rating for last two years Disciplinary letters (in last two years) Year 1 Year 2Amit MohantyRank #112 · 20K reputationPosted Sep 26, 2023, 2:03 AM EDT
Check this
table { border-collapse: collapse; width: 60%; } th, td { border: 1px solid black; padding: 8px; text-align: left; } th { background-color: #f2f2f2; } Performance Rating for last two years Disciplinary letters (in last two years) Year Year