Hi All,
I wanted to make a background color yellow of a specific html table row.
I have tried to set background color of row to yellow it is getting yellow, But row border is not getting colored.
I have also tried to make it as instead of . Know the answer? 01
Arun PottiAnswers in the forums20answers02
Tahir AnsariAnswers in the forums5answers03
Kamlesh KumarAnswers in the forums5answers04
Sam HobbsAnswers in the forums4answers05
Željko PerićAnswers in the forums3answersFull leaderboard →
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
I also do not want to collapse table border.
Could advise/guide.
Thanks
Shehzad
8 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsForums
Top experts
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Arul RRank #2,478 · 566 reputationPosted Jan 12, 2016, 7:40 PM EST
Rajeesh MenothRank #118 · 18.4K reputationPosted Jan 12, 2016, 7:52 PM EST
The bgcolor attribute is not supported in HTML5. Use CSS instead.
Manas MohapatraRank #182 · 13.2K reputationPosted Jan 12, 2016, 8:51 PM EST
ShehzadRank #2,660 · 522 reputationPosted Jan 13, 2016, 4:22 PM EST
Arul RRank #2,478 · 566 reputationPosted Jan 13, 2016, 9:20 PM EST
Manas MohapatraRank #182 · 13.2K reputationPosted Jan 13, 2016, 9:27 PM EST
ShehzadRank #2,660 · 522 reputationPosted Jan 17, 2016, 4:27 PM EST
ShehzadRank #2,660 · 522 reputationPosted Jan 17, 2016, 4:30 PM EST