Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

how do I make the headers on a sortable, scrollable table stay fixed in Firefox 4?

  • 1 odpowiedź
  • 21 osób ma ten problem
  • 11 wyświetleń
  • Ostatnia odpowiedź od cor-el

more options

In firefox 3 and prior versions, we were able to make the header on a sortable, scrollable table stay fixed and not scroll out of site when we scrolled the table, by putting the table in a div, and using css to indicate that the div should use overflow:auto and overfow-x:hidden. The tbody also used overflow:auto and overflow-x: hidden. The thead used position:relative. For the sort to work correctly the thead and tbody must be contained within the same table.

In firefox 3 and prior versions, we were able to make the header on a sortable, scrollable table stay fixed and not scroll out of site when we scrolled the table, by putting the table in a div, and using css to indicate that the div should use overflow:auto and overfow-x:hidden. The tbody also used overflow:auto and overflow-x: hidden. The thead used position:relative. For the sort to work correctly the thead and tbody must be contained within the same table.

Wszystkie odpowiedzi (1)

more options

A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.

See http://forums.mozillazine.org/viewforum.php?f=25