How to reduce space between tr's in table?11yAsked Sep 22, 2015, 11:24 PM EDT3 answersShareLinkedInXCopy linkSaveI have done this #lkj:hover { border-bottom: 3px solid pink; } #abc,#xyz{ display: inline;}table { border-collapse: collapse;} Rs.2300
How to reduce space between tr's in table?11yAsked Sep 22, 2015, 11:24 PM EDT3 answersShareLinkedInXCopy linkSaveI have done this #lkj:hover { border-bottom: 3px solid pink; } #abc,#xyz{ display: inline;}table { border-collapse: collapse;} Rs.2300
Manas MohapatraRank #182 · 13.2K reputation11y agoPosted Sep 22, 2015, 11:38 PM EDT0Use cellpadding and cellspacing to "0". See below code: cellpadding="0" cellspacing="0"> 0?11y agoPosted Sep 23, 2015, 12:02 AM EDT0I have tried that also but it is not working0Supreeth JRank #2,205 · 639 reputation11y agoPosted Sep 23, 2015, 12:32 AM EDT0Hi try this.., table { border-collapse: collapse; border:solid 10px #aaaaff; background-color:#aaaaff;} .space_tr { height: 1px; } .info_tr { background-color: grey; } .info_tr td { padding: 5 20 5 20px; } JohnDoe24 JackFoo34 JimBeam216 0Join to answer this questionEvery answer you publish earns 20 SHARP.Create free accountSign inKnow the answer?Answer a question in the forums and earn +20 SHARP for every answer.See unanswered questionsForumsTop experts01Arun PottiAnswers in the forums20answers02Tahir AnsariAnswers in the forums5answers03Kamlesh KumarAnswers in the forums5answers04Sam HobbsAnswers in the forums4answers05Željko PerićAnswers in the forums3answers?YouYour name goes here.Every answer: 20 SHARP.JoinFull leaderboard →2026DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Supreeth JRank #2,205 · 639 reputation11y agoPosted Sep 23, 2015, 12:32 AM EDT0Hi try this.., table { border-collapse: collapse; border:solid 10px #aaaaff; background-color:#aaaaff;} .space_tr { height: 1px; } .info_tr { background-color: grey; } .info_tr td { padding: 5 20 5 20px; } JohnDoe24 JackFoo34 JimBeam216 0
Manas MohapatraRank #182 · 13.2K reputationPosted Sep 22, 2015, 11:38 PM EDT
Posted Sep 23, 2015, 12:02 AM EDT
Supreeth JRank #2,205 · 639 reputationPosted Sep 23, 2015, 12:32 AM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts