Advanced Search

Results 1 to 5 of 5

Thread: website centering issue...

  1. #1
    Join Date
    Aug 2008
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default website centering issue...

    So the site is live... and the iframes are working well... but for some reason the pages are not totally centered on some browsers. (IE..) Its fine in Firefox, I would appreciate any insight.
    http://www.ayakitchens.com

    *Also, I changed the title tags for a couple pages but google still shows the old ones?

    Thanks

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    So the site is live... and the iframes are working well... but for some reason the pages are not totally centered on some browsers. (IE..) Its fine in Firefox, I would appreciate any insight.
    To the table tag with background="../../images/bg_page.jpg", add the highlighted:

    Code:
    <table width="952" border="0" align="center" cellpadding="0" cellspacing="0" background="../../images/bg_page.jpg" style="margin:0 auto;">
    Also, I changed the title tags for a couple pages but google still shows the old ones?
    The change isn't instantaneous. You'll have to wait until Google indexes your site again.


    Great design by the way. I could do w/o the table-based layout, but well executed.

  3. #3
    Join Date
    Aug 2008
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Medyman,
    I gave it a try but still nothing, not centering in IE...

  4. #4
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,486
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Because margins in IE are different than FF, to combat the issue you must declare a "make no difference" for margins.

    add this to the top of your CSS, before the body { element:

    Code:
    * {
    	margin: 0px;
    	padding: 0px;
    }
    {CWoT - Riddle } {OSTU - Psycho} {Invasion - Team}
    Follow Me on Twitter: @Negative_Chaos
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  5. #5
    Join Date
    Aug 2008
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Sorry,
    I got sidetracked Blizzard, I'm going to give it a try... hope it works.

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
  •