Problem with fixed header gridview RRS feed

  • Question

  • User-589123093 posted

    I have a gridview with a fixed header. I'm using CSS to fix the header in a scrollable panel. the css is as follows

    .columnheader th
    	border: none;
    	border-bottom: solid 1px blue;
    	text-align: left;
    	position: relative;
    	z-index: 10;
       top: expression(this.parentNode.parentNode.parentNode.scrollTop);

     the problem I'm having is in IE6, the header disappears when I hover over my asp.net menu. Sometimes the header gets repositioned on top of my banner. Other times it just disappears. If I refresh the page, the header is put back where it belongs but as soon as I hover over the menu, it's gone. It works fine in IE7 however.

     does anyone have any suggestions?

    Wednesday, April 9, 2008 11:56 AM


  • User1187105292 posted

     not every css feature is supported by every browser version.

    I would check the documentation to double-check if ie6 is even supposed to support that feature. 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, April 9, 2008 3:33 PM