Hi All,
I am seriously stuck with centering the controls of the web page. I know that to centre horizontally you use the style = "margin-left: auto; margin-right: auto" command. But when i do use this my controls end up all over the place.
I have a main panel where all the controls are within, this centre's fine. Within that i have two other panels and within them i have text boxes. When i use the same style command in the css code for these panels the appear in random places on the screen.
I have tried setting the style within the body and the div tags but this doesn't centre the panels. Am i missing something here? Can anybody please offer some advise as i am really confused and until i have done this i can't move on with the rest of the coding :(
The code i am using is below:
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
...
Go to the complete details ...