This is a migrated thread and some comments may be shown as answers.

Grid not centered align when data width greater than grid width

1 Answer 38 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 19 Jan 2012, 02:55 AM

 

My web site pages are centered in the browser. When the grid has data width that is larger than the grid width
and I shrink the browsers width, the grid and the other controls, do not go all the way to the left, there's a blank space that will
change width when the data width in the grid changes in the space on the left side of the browser will shrinks or grow. How do I get the grid and the control to go all the way to the left not matter what the data width is.

John

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 20 Jan 2012, 04:22 PM
Hi,

How you are centering your pages? You could try something like this:

<div style="width: 500px; margin: 0 auto">Test</div>

and check whether you are still replicating the issue. Additionally, under which browsers you are experiencing the erroneous behavior?


Regards,
Andrey
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Grid
Asked by
John
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or