troubleshooting Question

Page Template for C# Web (newbie web design request)

Avatar of Bird757
Bird757Flag for South Africa asked on
ASP.NET
3 Comments1 Solution373 ViewsLast Modified:
I am hoping someone can help me create a base template for a form page I am trying to add to an existing web site. My web skills are fairly basic but this is a very simple page I need to add. Problem is I am struggling with the basics.

I want to have a header bar, a Middle that will contain rows of data, and a footer. The header I want to keep visible because I want to put some controls there.

What I have tried is to create a Table, with 3 rows. What I can't get right is to have a scroll bar on the middle row?

So I was trying to put a frame inside the middle row (and then scroll the frame) but this does not feel like the right way to do it?

Is there a good way of doing this in C# - well the code is C# but I am guessing the page is plain HTML.

The base I have in place at the moment is:
<body>
    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="maintable">
        <tr valign="top">
            <td height="77">
            </td>
            <td id="navigation" background="images/blank.gif" width="960" height="77" align="center">
                <div class="loginlink">
                    <a href="http://myweb.com/" target="_blank">Logout</a>
                </div>
                <div class="nav">
                    <a href="login.aspx">Login</a>
                    <a href="login_summarygrid.aspx" class="on">Summary</a>
                    <a href="blank.aspx">TBA</a>
                    <a href="blank.aspx">TBA</a>
                    <a href="blank.aspx">TBA</a>
                </div>
                <div class=commandlink>
                    <a href="login_summarygrid.aspx" target="_top">Current Week</a>
                </div>
            </td>
            <td height="77">
            </td>
        </tr>
        <tr valign="top">
            <td colspan="3" height="600">
-- This is where I want my table
-- The table has a variable number of columns and rows (12 columns normally, up to 200 rows) and comes from a DB Connection
            </td>
        </tr>

        <tr valign="top">
            <td height="94">
            </td>
            <td id="footer" background="images/footer.gif" width="960" height="94" align="center">
                <!--#include virtual="inc/copyright.inc" -->
            </td>
            <td height="94">
            </td>
        </tr>
    </table>
</body>
ASKER CERTIFIED SOLUTION
Jorge Paulino
IT Pro/Developer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Top Expert 2008

The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros