Fixed gridview header is wider than gridview
-
Hi, I create a gridview which with product name and sold count in 14 regions, I put the 14 region header text in vertical orientation to fit the region text. I put the gridview in a panel like the following, when product list is longer, the vertical scroll appear. Everything is fine if I resize the window, the header width and gridview width are resized. The problem is that if I want to fixed the header by using the following css: .header1{ height:20px; padding: 0px; font-weight:bold; position: absolute; background-color:Whte; margin-top:-3px; margin-left:0px; } And add the for between tag, the header is fixed, but if I change the window size, the header size won't change, only girdview width change, this makes the fixed header is longer than girdview. How can I solve this problem? Thanks a lot.