# \<div\> inside \<table\>

**URL:** <https://forum.kirupa.com/t/div-inside-table/207836>\
**Category:** web dev\
**Created:** [November 22, 2006, 12:29am UTC](https://forum.kirupa.com/t/div-inside-table/207836 "2006-11-22T00:29:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cokelatdesign](https://avatars.discourse-cdn.com/v4/letter/c/7c8e57/32.png) [@cokelatdesign](https://forum.kirupa.com/u/cokelatdesign)\
**Post date:** [November 22, 2006, 12:29am UTC](https://forum.kirupa.com/t/div-inside-table/207836/1 "2006-11-22T00:29:10Z")

</div>

can that be done? put a div tag inside a table tag? if can, why my scrolling don’t work? I’m using Javascript to do it…

if can’t how should I display my content on the center?  
for clearer meaning the link is

[http://cg-animation.com/faq.html](http://cg-animation.com/faq.html)

I divide the page into two :

1. is a header(menu)
2. is the body (content and image)

when i put the header into the table and the body into div it’s work i manipulate the margin and the padding to create the illusion of that it is center but the problem when i check to a computer with res: of 1024x768 the content and the image overlapping each other and when i design it i’m using 1280x1024

so any ideas?
