Click here to Skip to main content
15,898,588 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
See more:
I have a table with multiple rows, for example five rows. I need to reduce the gap between the third and fourth rows.

Below is my code:


The result is

First 1

Second 2

Third 3

Fourth 4

I want to remove the gap between the third and fourth rows as below:

First 1

Second 2

Third 3
Fourth 4

Is it possible to set the padding between third and fourth row only to 0? to reduce the gap between them? and not between all the rows.
First Row 1
Second Row 2
Third Row 3
Fourth Row 4
Posted
Updated 23-Sep-13 9:11am
v2
Comments
CHill60 23-Sep-13 15:15pm    
Yes.
user1726 23-Sep-13 17:21pm    
Can you please tell me how it can be done?

1 solution

This is all you need: http://www.w3.org/TR/CSS2/box.html[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900