13 Replies Latest reply on Apr 7, 2010 5:17 PM by keylaigh

    Centre Page with wrapper div tag does not work


      Hi there,


      I am trying to centre the content of my website with a 'wrapper' div tag but the div tag just does not seem to have any effect on the layout at all.


      Here is how I do it:


      1.) Select all the html in the body.

      2.) Creating 'wrapper' div tag --> width: 768, left & right margin: auto, bottom & top margin: 0


      I found this in an adobe tutorial and it sounds logical to me, but somehow it just does not work.


      I hope someone can help me out.


      Thanks a lot!