Posted on: 10/22/2012 2:06:04 AM | Views : 405

How can I center the second DIV (the one that's set for runat="server") ?
I've tried everything, but nothing seems to work. The container doesn't need to be a TABLE; I just used a table because it's easier for me to handle.
<table style="width: 100%; height: 100px; background-color: Blue; "> <tr> <td style="width: 100%; text-align: center"> <div runat="server" id="divTest" style="margin: 0px auto" > <div style="width: 183px; border: 1px solid #D2D2D2; "></div> </div> </td> </tr> </table>
Thanks.
...

Go to the complete details ...