Welcome to TalkGraphics.com
Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Nov 2010
    Posts
    17

    Default Page not centered when viewing in IE

    Hi All
    I dont understand this
    Why will the pages work 100% and be centered in Firefox but when viewing in Internet Explorer, its set to the left margin?
    How do IO fix this?

  2. #2
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,512

    Default Re: Page not centered when viewing in IE

    Can you give us a link or attach your web designer document here?

  3. #3
    Join Date
    Nov 2010
    Posts
    17

    Default Re: Page not centered when viewing in IE

    Here is the link:
    http://horsecrazy.co.za/artistmarket/

    Click on register and you will see that Firefox works 100%, but IE pushes the webpage to the left margin.
    How can I solve this?

  4. #4
    Join Date
    Aug 2007
    Location
    Maghull UK
    Posts
    6,202

    Default Re: Page not centered when viewing in IE

    Home and Log-in pages ok, just the register page. But all three work ok in Opera and when using IE Tab in Chrome Attaching your file would be helpful :-)
    JOHN -XaReg (FB) XaReg (DB - ignore prompt to register)
    Windows 10 [Anniversary] pro Intel Pentium CPU G630 @ 2.70Ghz RAM: 4 GB; 64-bit x64

  5. #5

    Default Re: Page not centered when viewing in IE

    IE is running in quirks mode. Changing to standards mode, the page centers fine in IE9.

    It may or may not be related to the div holding the php:

    <div style="position: absolute; left: 197px; top: 194px; width: 564px; height: 352px;">
    <?php
    include("front.php");
    ?>
    </div>

    Dunno.

    Mike

  6. #6
    Join Date
    Nov 2010
    Posts
    17

    Default Re: Page not centered when viewing in IE

    Hi Guys, Thanks for the help.
    I have attached it to this message.

    [I have removed your file as it was pointed out that you had included your password. I strongly recommend you change your password immediately - Gary - Moderator]
    Last edited by gwpriester; 31 August 2011 at 05:41 PM. Reason: Removed file with password

  7. #7

    Default Re: Page not centered when viewing in IE

    If I remove the placeholder to the side of the reg page, it renders fine in IE, whether using quirks mode or not. Without the sql table, the config.php, etc., it's flying in the dark, though.

    Mike

  8. #8
    Join Date
    Jan 2004
    Posts
    1,830

    Default Re: Page not centered when viewing in IE

    Hi what happens if you remove the form tag from the placeholder causing the code to be written prior to the opening head tag and insert this as a placeholder which writes to the body?

    <form action="submit.php" method="post">

  9. #9
    Join Date
    Nov 2010
    Posts
    17

    Default Re: Page not centered when viewing in IE

    Hi Guys
    Firstly: GARY - Could you please tell me where did I include my Password? On which page did you see this?

    Thanks guys. You all makes life worth living for ;-o)
    I will try the above as suggested.

  10. #10
    Join Date
    Nov 2010
    Posts
    17

    Default Re: Page not centered when viewing in IE

    You guys where right.
    It was my line: <form action="submit.php" method="post">
    which bombed out everything.
    I have moved it and it works great.
    A small mistake can throw out your whole script

 

 

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
  •