2

Possible Duplicate:
How can I lock the first row and first column of a table when scrolling, possibly using javascript and CSS?

I have an HTML table that contains a large number of rows and columns. The top row contains headers, and the first cell in every row below that contains a header.

I need to allow the user to scroll the table whilst keeping the top row and left column visible at all times (similar to what can be achieved using the "freeze cells" option in Excel.

The solution only needs to work for IE7+ as this is for an internal application.

Ideally the solution should degrade gracefully in other browsers, but that's not essential.

My hunch is that there's a JavaScript solution to this...

0

2 Answers 2

2

This looks like a duplicate of How can I lock the first row and first column of a table when scrolling, possibly using javascript and CSS?

Is that what you're looking for?

Sign up to request clarification or add additional context in comments.

Comments

1

As you've said

The solution only needs to work for IE7+ as this is for an internal application.

There's this solution, which is IE only and Css only.

hope it helps :-)

2 Comments

ie-only answers are not answers
@floyd: Except the question says it only has to work in IE7+.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.