Hi,

I have written up this simple asp.net page that pulls data from a long xml file and shows information in a table format. Everything is working properly, except that I cannot get the scrollbar to work. So, if I want to read the stuff that is on the lower end of the screen, I tried using mouse, keys and still get no data.

What is weird is, I don't have this problem with Firefox. I still get no scrollbar, and putting in something like overflow:auto in my body tag in the css does not seem to do any good.

BTW, this only occurs with the aspx, I don't have the same problem with other html files.

What have I done wrong here?
Anything is appreciated.

If you want any help, you are going to have to post the HTML generated by your aspx page and let everyone know what version of IE you have. If someone is able to recreate the problem, they might be able to help.

If you want any help, you are going to have to post the HTML generated by your aspx page and let everyone know what version of IE you have. If someone is able to recreate the problem, they might be able to help.

What is weird is, I can see the scroll bars that is in the center of the screen when I shrink the screen down. If I have to show you the code, which part would I need to present? The data is very long, and I am not sure if it is suitable to post everything?

Thanks for your help.

You will need to show the generated HTML. Whatever the browser sees when it tries to display the page. You can get that by right-clicking the page and selecting "View Source".

Please don't post all of your data. If you are outputting your data in a loop, meaning there are regions of your page that are repeating for each row in your dataset (or something similar), then you can simply post HTML generated for a single row of your data.

I can post the code, but it is really long, so I am putting in the information with one data entry as the example. Hope this explains some of the issues I may have.

<html>
<head><title>Test</title></head>
            <body>
                  <div id="main">
                    <h1>My Music List on Pandora</h1>
          <form name="ctl00" method="post" action="music_collection.aspx" id="ctl00">
<div>
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJNjI2NDE0MjU2D2QWAgIBD2QWAgIBDxYCHgtfIUl0ZW1Db3VudAJFFooBAgEPZBYCZg8VBQRSb2NrGihJIEp1c3QpIERpZWQgSW4gWW91ciBBcm1zDzgwIFBvcHVsYXIgSGl0cwxDdXR0aW5nIENyZXcKMDMtMjQtMjAwOWQCAg9kFgJmDxUFBFJvY2sQVHVybmluZyBKYXBhbmVzZQ84MCBQb3B1bGFyIEhpdHMKVGhlIFZhcG9ycwowNC0xMy0yMDA5ZAIDD2QWAmYPFQUEUm9jaxtWaWRlbyBLaWxsZWQgVGhlIFJhZGlvIFN0YXI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naHQgUm9jaxJSdW4gV2l0aCBUaGUgQmxpbmQVRW5nbGFuZCBCZWxvbmdzIHRvIE1lDEMqKmsgU3BhcnJlcgowNy0yMy0yMDA5ZAJDD2QWAmYPFQUKTGlnaHQgUm9jawlSdXNoIEhvdXIVRW5nbGFuZCBCZWxvbmdzIHRvIE1lCUpveSBSaWRlcgowMy0yOS0yMDA4ZAJED2QWAmYPFQUKTGlnaHQgUm9jaxJXaGVyZSBBcmUgVGhleSBOb3cVRW5nbGFuZCBCZWxvbmdzIHRvIE1lDEMqKmsgU3BhcnJlcgowOS0yMC0yMDA4ZAJFD2QWAmYPFQUKTGlnaHQgUm9jawpXaGl0ZSBSaW90FUVuZ2xhbmQgQmVsb25ncyB0byBNZQxDKiprIFNwYXJyZXIKMDMtMDUtMjAwOWRk+3Tti81K3C9YXidZy0369Fa/ECA=" />
</div>
 
          
                <table class="songs">
                 <tr>
                        <th width="35%">Title</th>
                        <th width="25%">Album</th>
                        <th width="20%">Artist</th>
                        <th width="20%">Date</th>
                    </tr>
            
                <tr title='Rock'>
                    <td>(I Just) Died In Your Arms</td>
                    <td>80 Popular Hits</td>
                    <td>Cutting Crew</td>
                    <td>03-24-2009</td>
                </tr>            
                </table>        
</form>  
               </div>
            </body>
        </html>

Do you have overflow:hidden anywhere in your stylesheet?
To me, it sounds very much like the problem is in the css somewhere.

This is what I have in my css regarding my div element named #main, which is where I put in all my info.

#main {padding:0 4em; 
       overflow: auto;
}

But, I do have overflow:hidden in my body

body {
    font-family:Arial;
    color:rgb(64,0,128);
    background-image:url(../images/music.jpg);
    padding:0;
    overflow:hidden
}

Yet, since #main is inside body, should it not have over-ridden this rule?
Thanks for your help.

If there was a height specified on the #main div then I would agree with your assessment. But that's not mentioned in your snippet.

Working on that assumption - the #main div will never overflow as such because it doesn't know that it has a limitation, it will just extend - if that extension goes beyond the constraints of the body, then the body overflow setting is the one it will use. If you specify a height for the div which is less than the body height then I think it will all work.

If there was a height specified on the #main div then I would agree with your assessment. But that's not mentioned in your snippet.

Working on that assumption - the #main div will never overflow as such because it doesn't know that it has a limitation, it will just extend - if that extension goes beyond the constraints of the body, then the body overflow setting is the one it will use. If you specify a height for the div which is less than the body height then I think it will all work.

Thanks for pointing this out to me, and no, using div height did not work, I switched body's overflow to auto, and it worked. I can see the scroll bars now. Thank you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.