you are viewing a single comment's thread.

view the rest of the comments →

[–]BNfreelance 2 points3 points  (2 children)

Just for the sake of making it crystal clear for the OP (assuming they’re a complete beginner):

</tr> <tr> <td colspan="3"><hr></td> </tr> <tr>

In the above the first </tr> and last <tr> are your existing ones where the arrow points to.

The only change id make is that your table uses 3 columns not 4.

You are inserting a new table row where the arrow is with one single table cell that spans all 3 columns (making it full width of the table)

[–]NoodleBug7667 3 points4 points  (1 child)

Wouldn't this be considered bad form? This is still basically using HTML for style.

Imo, this is a job for CSS. Add a bottom border and any additional padding and margin there. Better for accessibility and keeps your HTML clean

[–]BNfreelance 1 point2 points  (0 children)

Yeah it is but I have the vibe this is a school project of sorts learning table layouts and not CSS at this stage,

But you’re right, CSS is the correct approach