css problem in top:??

Posted by user175084 on Stack Overflow See other posts from Stack Overflow or by user175084
Published on 2010-03-08T23:27:39Z Indexed on 2010/03/08 23:36 UTC
Read the original article Hit count: 435

Filed under:
|
|
|
|

i have to fix the header in a gridview and i use this in style Class

<style type="text/css">
 .gridFixedHeader
{
background-color:white;
position:relative;
top:expression(GridView1.offsetParent.scrollTop-2);
}
</style>

but i get an error that expression(GridView1.offsetParent.scrollTop-2);is not valid... what all do i need to do to make this work.....

any suggestions

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about c#