Debasish, I just forgot to convey my thanks in my PM. I have sent you the actual code which I have run with IE and which was showing the exact table format. Now this is what I want to post in my blog.