The basic problem is that you need to specify units:
Code:
<div
style="overflow-y:scroll;overflow-x:hidden;width:720px;height:340px;scrollbar-face-color:#c4c9cc;">
<table></table>
</div>
However, a better way to get a vertical scroll bar is to use overflow:auto; and just make sure that the width of the content (in this case your table) isn't any wider than the container division:
Code:
<div
style="overflow:auto;width:720px;height:340px;scrollbar-face-color:#c4c9cc;">
<table></table>
</div>
That makes it compatible with browsers that don't support the x and y overflows, and allows for a horizontal bar, should one become necessary due to unforeseen circumstances. Without that possibility (if the content gets too wide for the container), some of your content would end up invisible.
Bookmarks