I have a bunch of text that scrolls vertically. Inside that text I have several tables and they appear as expected and scroll along with the text.
I have a table I'll call 'cart' that I want to place inside the scrolling area but it won't go. The only way it will scroll merrily along is if I remove its style or remove the overflow characteristic of the scrolling text.
Here's the style for the scrolling text:
And here's the style for the table I want to insert:
Obviously some characteristic is incompatible, but what? What style attribute would conflict with "overflow-y: auto;"?
Thanks in advance, Gary
I have a table I'll call 'cart' that I want to place inside the scrolling area but it won't go. The only way it will scroll merrily along is if I remove its style or remove the overflow characteristic of the scrolling text.
Here's the style for the scrolling text:
Code:
.bodytext {
overflow-y: auto;
overflow-x: hidden;
font-family: Arial, Helvetica, sans-serif;
font-size: small;
color: #666666;
width: 580px;
vertical-align: top;
text-align: left;
background-color: #FFFFCC;
line-height: normal;
height: 440px;
}
And here's the style for the table I want to insert:
Code:
#cart {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #666666;
text-align: right;
width: 537px;
align: center;
}
Obviously some characteristic is incompatible, but what? What style attribute would conflict with "overflow-y: auto;"?
Thanks in advance, Gary