This fixed problem 1:
Don't use scrollbar at the gridview. Keep the gridview in a div (say
divGridView) and add css class (say LayTable) to that div and keep
that div inside another div or td with a fixed width and height.
.LayTable { LEFT: 1px; OVERFLOW: auto; WIDTH: 100%; POSITION:
relative; TOP: 0px; HEIGHT: 100% }
The second problem went away when I commented out some strange stuff
in the stylesheet:
div.scrollContainer table>tbody { /* child selector syntax which IE6
and older do not support*/
height: 200px;
height: expression(20); /*IE5+ only*/
overflow: hidden;
}
I don't understand how or why that caused Mozilla to display only 4
rows of data.
The only problem I have left is keeping the gridview headers visible
when scrolling down. This works for IE but not Firefox:
div.scrollContainer thead tr
{
position:relative;
top: expression(offsetParent.scrollTop-1); /*IE5+ only*/
}
Does anyone know how to make this work for Firefox?
Stapes
On 12 Sep, 18:18, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> plz explain ur prob in more detail,unable 2 undrstand watz z ur real
> prob.
>
> On Sep 12, 8:24 pm, stapes <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi
>
> > I am having difficulty displaying a gridview in both IE and Mozilla. 2
> > Different Problems.
>
> > 1. On internet explorer, I have a lot of columns, so I have to scroll
> > horizontally. The Header row does not scroll left and right with the
> > data, but stays where it is.
>
> > 2. On Mozilla, that bit works OK, but the GridView only displays the
> > first 4 rows of data.
>
> > Does anybody have any ideas what is going on here?
>
> > Stapes- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web
Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://cm.megasolutions.net/forums/default.aspx
-~----------~----~----~----~------~----~------~--~---