By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,034 Members | 1,672 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,034 IT Pros & Developers. It's quick & easy.

fix the gridview header in IE & Firefox

P: n/a
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

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
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"
AutoGenerateColumns="true" CellPadding="1" CellSpacing="0" GridLines="None"
Width="722px" CssClass="WrapperDiv" OnRowEditing="gvKOLOrganon_RowEditing"

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

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

Thanks in advance, greetings

Aug 28 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.