apdet layout & css