DIV align problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mrbadboy
    New Member
    • Jul 2007
    • 21

    DIV align problem

    Hi,

    I tried to set aling DIV to center using text-align:cener. It works in IE but not in Mozilla. Whats the alternate solution for Mozilla ?.

    Thanks.
  • Simon27
    New Member
    • May 2007
    • 8

    #2
    Use "margin: 0 auto" for the DIV to position it in the middle.

    Comment

    • mrbadboy
      New Member
      • Jul 2007
      • 21

      #3
      Dear Simon27,

      Its working properly.. Thanks for your Information.


      Originally posted by Simon27
      Use "margin: 0 auto" for the DIV to position it in the middle.

      Comment

      Working...