We've had some issues with gradebook alignment in Elegance. I've been able to sort out our problems with a combination of CSS and category/item management. (We're using Moodle 2.7.2+ and Elegance 2.7.0.06)
1) Rows are misaligned when the static student column is enabled (screenshot attached). This has been discussed in other threads, and various custom CSS solutions have been suggested. Our problems disappeared with this custom CSS addition:
.right_scroller{
padding-top: 21px;
}
...or the problem mostly disappeared. There were still some problems that were related to problem 2:
2) Columns are mismatched when there are categories that lack either a category total or an item. (screenshot attached) When there is such a category, the column below that category holds grades for the category/item to the right. (See the hover message in the screenshot).
Basically, the table header has a category that should have a blank/empty column below but the empty column doesn't present itself and all item columns are shifted to the left. (This also affects row alignmen)
I have solved our problem by ensuring that categories have totals and/or items in them (we were using a template with empty grade categories that needed no total).
I'm still looking up the details and will make a report of the bug. I'm posting here in case any others are seeing similar issues.