lucerias Posted November 1, 2006 Share Posted November 1, 2006 How to create space between rows? i tried to code like this <tr></tr>, but it cannot form a space in between that i want. Thank you. Link to comment https://forums.phpfreaks.com/topic/25805-an-empty-row-of-table-space-between-rows/ Share on other sites More sharing options...
wildteen88 Posted November 1, 2006 Share Posted November 1, 2006 Use <tr></tr> will not create a "space". instead it creates a new row that is 0px tallIf you want it to create a "space" you'll want to specify a height and add an empty cell:[code]<tr style="height: 30px"><td>&nsbps;</td></tr>[/code]that create a 30 pixel gap between the row above and below. Link to comment https://forums.phpfreaks.com/topic/25805-an-empty-row-of-table-space-between-rows/#findComment-118016 Share on other sites More sharing options...
fenway Posted November 1, 2006 Share Posted November 1, 2006 Personally, I hate table row/cell heights, since no browser uses them properly... it makes more sense, IMHO, to have a DIV inside with whatever dimensions you want. Link to comment https://forums.phpfreaks.com/topic/25805-an-empty-row-of-table-space-between-rows/#findComment-118089 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.