views:

16

answers:

0

I have a repeater that I have added a vertical scrollbar to, if there are more than x number of records. If I have less than x, the repeater displayes centered and all is well. If I have more than x, the scrollbar is added but the repeater is all the way to the left. No matter what I do, I cannot get it centered. One of the things I have tried was removing the setting of the width from the code behind, setting it in the ascx page, but when I do this, it is almost centered, but the scrollbar is about 2 inches to the right of the repeater on the page.

Any help would be much appreciated.