Tech Off Post

Single Post Permalink

View Thread: XHTML Compliant Alternative to <div align="center">
  • User profile image
    ewschone

    Usually I put this in the style sheet

    .centered
    {
     margin-left:auto;
     margin-right:auto;
    }

    and then use <div class="centered"></div> around the stuff that needs to be centered Smiley.