I have a table with html code
<style>
div.scroll
{
height:150px;
overflow:auto;
}
table.scrollable th
{
position:relative;
}
</style>
<div class="scroll">
<table class="scrollable">
<thead><tr><td>heading1</td><td>heading2</td><td>heading3</td></tr></thead>
<tbody>
<tr><td>value1</td><td>value2</td><td>value3</td></tr>
//repeated 100 times
</tbody>
</table>
</div>
this gives me a nice scrollable table with a fixed header. This is a stand
alone.
When I include the same code in my jsp file, I get a scroll bar, but my header
is not fixed. My jsp respects the "overflow:auto" attribute, but does not
respect the "position:relative" attribute.
I did not add the standard <!doctype....> here, but its there in my code.
any help?
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/