HTML Scrollable Table

Can anybody send the html  code and style sheets  for the table layout attached in the attachments??

Data for Table rows will come dynamically from the database, after the data crosses given height table should scroll.....and i have to show alternative rows with same color.

i have used the following style sheets ..but it is not properly displying the data ....i am sending my code and Table layout.
Style Sheets
 
        html>body thead.fixedHeader th 
        {
                width:162px;
        }
        
        html>body thead.fixedHeader th + th 
        {
                width:163px;
        }
        
        html>body thead.fixedHeader th + th + th 
        {
                width:163px;
        }
        html>body thead.fixedHeader th + th + th +th
        {
                width:162px;
        }
        
        html>body tbody.scrollContent td 
        {
                width:205px;
        }
        
        html>body tbody.scrollContent td + td 
        {
                width:202px;
        }
        
        html>body tbody.scrollContent td + td + td 
        {
                width:204px;
        }
        
        html>body tbody.scrollContent td + td + td + td
        {
                width:89px;
        }
        
        html>body tbody.scrollContent td + td + td + td + td
        {
                width:89px;
        }
                
        div.tableContainer 
        {
                clear: both;
        
        }
*********************************************************************************************
 
HTML code 
 
<table border="3" cellpadding="0" cellspacing="0" width="100%" class="scrollTable" style="position:absolute;FONT-WEIGHT:bold;top:320px;height:50;left:200px;width:850px;font-size:15px">
        <thead class="fixedHeader">
            
        <tr> 
            
        <th style="border-left: 2 solid #C0C0C0"><font color="#B8860B" face="Tahoma" size="5">User Name</font></th>
        <th style="border-left: 2 solid #C0C0C0"><font color="#B8860B" face="Tahoma" size="5">Business Type</font></th>
        <th style="border-left: 2 solid #C0C0C0"><font color="#B8860B" face="Tahoma" size="5">URL</font></th>
        <th style="border-left: 2 solid #C0C0C0"><a href="CreateGroupAccount.jsp"><img src="Images/Create.jpg"/></a></th>
        
    </tr>
    
    </thead>
    </table>
    
 
 
 
 
<div id="tableContainer" class="tableContainer">
<table cellspacing="0" cellpadding="0" width="100%" style="position:absolute;top:380px;left:200px;">
    <tbody class="scrollContent" style="display:block;height:175px;width:850px;overflow:auto;">
 
<tr>
        
                                <td style="border-left: 2 solid #C0C0C0"><font color="LightGrey"  size="5"><span><%= userName%></span></font></td>
                                <td style="border-left: 2 solid #C0C0C0"><font color="LightGrey"  size="5"><span><%= businessType%></span></font></td>
                                <td style="border-left: 2 solid #C0C0C0"><font color="LightGrey"  size="5"><span><%= url%></span></font></td>
                                <td style="border-left: 2 solid #C0C0C0"><a href="EditGroupAccount.jsp?user_Name=<%= userName%>&business_Type=<%= businessType%>&url=<%= url%>"><img src="Images/button_edit.gif"/></a></td>
                                <td style="border-left: 2 solid #C0C0C0"><a href="DeleteGroupAccount.jsp?user_Name=<%= userName%>"><img src="Images/Delete.jpg"/></a></td>
                                                                                
</tr>
</tbody>
</table>        
</div>

Open in new window

Temp.jpg
RaghupalReddyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jessegivyDeveloperCommented:
Have you tried putting the overflow:auto; on the div element (tableContainer)?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
KNVB HKSITOCommented:
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.