fix the gridview header in IE & Firefox

  • Thread starter Alhambra Eidos Kiquenet
  • Start date
A

Alhambra Eidos Kiquenet

Hi misters,

I am using a CssClass to fix the gridview header in ASP.Net 2005(C#),which
is working fine in IE..But not working in Firefox..This is the cssclass which
I'm using right now

WrapperDiv
{
background-image: url(tdbg.jpg);
color: #002F5C;
font-weight: bold;
font-size: 10px;
font-family: Verdana;
text-align: left;
}

WrapperDiv TH
{
position: relative;
}
WrapperDiv tbody
{
overflow:auto;width:100px;
}
WrapperDiv TR
{
height: 0px;
}

This is how I implemented the css in the gridview

<DIV style="overflow:scroll;height:220px;width:740px;" id="div1">
<asp:GridView id="gvKOLOrganon" runat="server" AllowPaging="false"
AllowSorting="True"
AutoGenerateColumns="true" CellPadding="1" CellSpacing="0" GridLines="None"
Width="722px" CssClass="WrapperDiv" OnRowEditing="gvKOLOrganon_RowEditing"
OnRowCommand="gvKOLOrganon_RowCommand"
OnRowCancelingEdit="gvKOLOrganon_RowCancelingEdit"
OnRowUpdating="gvKOLOrganon_RowUpdating">



<PagerStyle CssClass="grdPager" HorizontalAlign="Right" />
<RowStyle CssClass="grdRow" />
<SelectedRowStyle BackColor="black" />
<AlternatingRowStyle CssClass="grdAltRow" />
<EmptyDataTemplate>
No Records are found.
</EmptyDataTemplate>
</asp:GridView> </DIV>

Can anyone help me to sort out this problem???

Thanks in advance, greetings
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,154
Members
46,701
Latest member
XavierQ83

Latest Threads

Top