SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Zealot beyre's Avatar
    Join Date
    Dec 2008
    Location
    North Carolina
    Posts
    128
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Having trouble centering website

    This is the currently template I'm working on (don't click on any of the menu links as they will take you to a current template).

    www.littlemissnc.com/index-build3.php

    In the sitestyle.css, I'm using #wrapper3, #header3, #main3 and #footer3

    My screen's resolution is the 1024x768 and the site centers fine in IE8 and FireFox 3.6.17

    My husband's computer monitor is a touch wider than mine and he has his resolution set much higher. The website does NOT center in Firefox, IE, nor Chrome.

    And someone I'm working with on this site is on a Mac using the Safari browser and the site does NOT center for him.

    Are there special hacks I need to be placing in my CSS?
    Barbara E.

    Will add my site links when I'm more established here.

  2. #2
    SitePoint Addict EarlyOut's Avatar
    Join Date
    Mar 2011
    Location
    Sector R
    Posts
    280
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In sitestyle.css:

    Code:
    *{margin:0;padding:0;}
    
    Change:
    
    *{margin:0 auto;padding:0;}

  3. #3
    SitePoint Zealot beyre's Avatar
    Join Date
    Dec 2008
    Location
    North Carolina
    Posts
    128
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you ... so far that seems to have worked (Chrome and IE). Am waiting for a response from the Mac/Safari guy.
    Barbara E.

    Will add my site links when I'm more established here.

  4. #4
    SitePoint Addict EarlyOut's Avatar
    Join Date
    Mar 2011
    Location
    Sector R
    Posts
    280
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, I have no Mac to test with, so I always have to operate on faith about what Safari is going to do. I don't think there's any good emulator for it under Windows, either.

  5. #5
    SitePoint Zealot WebFreakz's Avatar
    Join Date
    Dec 2006
    Posts
    126
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can just download a safari browser and install it on your pc.
    Safari - Download


Bookmarks

Posting Permissions

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