How to center or right position a content placeholder control on a web form in Visual Studio
Posted on 2009-04-21
I am using Visual Studio 2008 developing a web page.
I have a content placeholder control with several other controls in it. It is currently left justified when it appears in the web form. .aspx page. It appear to be defaulting to this and has not been set.
Can anyone tell me how to right justify, or how to center the placeholder control? I notice in the properties window for the placeholder control that there is a popup dialog box for the style. I just don't know how to set it to sit in the center of the screen or to make it right justified. The attributes for left and right are in pixels. I have no idea if this is what I need to set and what to set it to.