Asked • 03/29/19

Add border-bottom to table row <tr>?

I have a table of 3 by 3. I need a way to add a border for the bottom of every row `tr` and give it a specific color.First I tried the direct way, i.e.: But that didn't work. So I added CSS like this: tr { border-bottom: 1pt solid black; }That still didn't work.I would prefer to use CSS because then I don't need to add a `style` attribute to every row.I haven't added a `border` attribute to the ``. I hope that that is not affecting my CSS.

1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.