Aligning content in table cells – Don’t use margin – use padding

Here is the situation I was in. I had to align a link in TD. This is how it was <TH><a href=…../></TH> and had to align the text in it. I was trying out margins as usual and didn’t work. I was trying to move the margins of a cell which doesn’t work. Instead had to use padding since margins are set.

Advertisements

Editing CVS comments with Tortoise CVS after commit

Have you even been in a situation where you entered wrong comments while committing the file and wanted to edit them later? Here is what you can do change the comments after commit: View the file history in Tortoise CVS. Select the version you want to change the comments for. You should get a text box to edit the comments. Click ‘Apply’. You are done.