Results 1 to 3 of 3

Thread: How to center pages in all browsers

  1. #1
    Junior Member
    Join Date
    Mar 2012
    Posts
    2

    Default How to center pages in all browsers

    My website http://www.electronicpestcontrol.net centers in IE and Google but not in Chrome or Firefox. I used zero margins, checked the box for centering in browser, tried leaving it on sitestyle then dynamic but that didn't work. I use NOF9. How can I center my site on all browsers or at least the important ones? Can I add some code??? to my CSS???. Someone told me to add body > table {
    margin: auto;
    } but I'm not sure where to put it or if it is even valid code.

  2. #2
    Charles Edmonds
    Guest

    Default Re: How to center pages in all browsers

    On Fri, 16 Mar 2012 19:31:07 +0000, msglobal wrote:

    > My website http://www.electronicpestcontrol.net centers in IE and Google
    > but not in Chrome or Firefox. I used zero margins, checked the box for
    > centering in browser, tried leaving it on sitestyle then dynamic but
    > that didn't work. I use NOF9. How can I center my site on all browsers
    > or at least the important ones? Can I add some code??? to my CSS???.
    > Someone told me to add body > table {
    > margin: auto;
    > } but I'm not sure where to put it or if it is even _valid_code_.


    One way is to use our EZRound product and put a border around the entire
    site. It works in all browsers.

    http://www.ezround.com


    We have NOF specific tutorials and you can download a free trial version to
    see how it works.

    For on-page use of EZRound ( such as creating a rounded corner border
    around a page element ), you can use our Universal Import Tutorial for NOF:

    http://www.ezround.com/html/universal.html


    To create the border around the entire website and center it in all
    browsers, you can use the Centered Tutorial for NOF:

    http://www.ezround.com/centered/


    EZRound is simple to use and it is a nice way to dress up the standard NOF
    site styles as well.

    We have thousands of NOF users, but download the free trial and try it out
    for yourself.

    Good luck on your projects!

    Charles






    --
    -------------------------------------------------------------------------------------------------------
    Charles Edmonds
    cjeByteMeSpammers@lansrad.com (remove the "ByteMeSpammers" to email me)
    www.clarionproseries.com - ProScan, ProImage, ProPath and other Clarion
    developer tools!
    www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
    www.setupcast.com - "A revolutionary new publishing system for software
    developers - enhanced for SetupBuilder users!"
    www.pagesnip.com - "Print and Save the Web, just the way you want it!"
    www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
    and Forms - Now with PNG support!
    www.lansrad.com - "Intelligent Solutions for Universal Problems"
    www.fotokiss.com - "World's Best Auction Photo Editor"
    -------------------------------------------------------------------------------------------------------

  3. #3
    Junior Member
    Join Date
    Mar 2012
    Posts
    2

    Default Resolved

    Thanks for your solution but I finally found an easy way to do it.....so for all of the posts that had the same issue this worked for me. In the Masterborder properties screen click HTML and enter the tag <div align="center"> in the begin body and </div> in the end of body. Then republish your site. Worked in Google Bing Firefox, and Chrome.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •