1 Reply Latest reply on Jun 7, 2006 11:37 AM by Newsgroup_User

    Easiest way to center Div Tags

    mikesilverman22
      I'm trying to figure out how to center div tags, i know there are some threads about it in the past but i was wondering what's the simplest way to do it.

      Mike
        • 1. Re: Easiest way to center Div Tags
          Level 7
          Most simple way is to read the threads and find the one you think is the
          easiest. You'll get the same replies that have been archived, the
          methods haven't changed.


          --
          If you haven't already, you would be well served searching through the
          archives for the answer to your question. The archives can be found here:

          http://groups.google.com/group/macromedia.dreamweaver
          http://groups.google.com/group/macromedia.dreamweaver.appdev

          You can center a div by having the content in the containing div center
          (text-align: center , you can center a div with an auto margin (margin:
          auto . You can center a div with html and centerign your child div <div
          align="center"><div id="CenteredDiv"></div></div>


          "mikesilverman22" <webforumsuser@macromedia.com> wrote in message
          news:e675p2$4eh$1@forums.macromedia.com...
          > I'm trying to figure out how to center div tags, i know there are some
          > threads about it in the past but i was wondering what's the simplest way
          > to do it.
          >
          > Mike