Can somebody tell me whether div inside a table is allowed or not according to w3c
It is allow as TD can contain inline- AND block-elements.
Here you can find it in the reference: http://xhtml.com/en/xhtml/reference/td/#td-contains