Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 24, 2012 08:03 AM by Muhammad Fakhr Elden Sami
Feb 24, 2012 07:50 AM|LINK
I want to set first TD height of every TR of one table to first TD height of Every TR of another table. I written the logic and everything works fine.
But, When i look at Layout of the TD, its height mentioned ad 50 but below code return 49. Because of that 1 px misalignment is there in the tables. I even tried TD.css("height)"; But no use. Why its returning 1px less. Any idea???????.... Please help.
otherRowTD = $("#rightTable").find('tr:eq(' + rowNr + ')').find('td:first');
Feb 24, 2012 08:02 AM|LINK
This may be due to in one table the cell has porder top or bottom and in one there is no border. This is just a guess.
Feb 24, 2012 08:03 AM|LINK
Height method caluculates the height but without the padding and the
margin, make sure that these values are 0