I've created a div tag that has overflow set to scroll in my css file.
Now I've embedded a table inside of that div. However, a div always
expands to the size of it's container. Here the whole width of the
browser. Thus, the scroll bar shows up way at the right and the data
in the table stops short. I'd like the DIV to only get as wide as the
table which I have nested inside of it. Is there a way to get the DIV
tag to do this so the scroll bar looks correct.
Thanks,
Ryan
Now I've embedded a table inside of that div. However, a div always
expands to the size of it's container. Here the whole width of the
browser. Thus, the scroll bar shows up way at the right and the data
in the table stops short. I'd like the DIV to only get as wide as the
table which I have nested inside of it. Is there a way to get the DIV
tag to do this so the scroll bar looks correct.
Thanks,
Ryan
Comment