Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    May 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    same code - index.php and index1.php look different

    Hi, I'm having a really strange problem.

    index.php scales the size up of everything by about a quarter, compared to looking at index1.php which has EXACTLY the same code (eg, i copied index.php and then opened the original and the copy).

    This only happens offline with firefox 4, but I would like to know why it is happening. Can anyone help me?
    Thanks,
    r_bewick

  • #2
    Senior Coder
    Join Date
    Feb 2011
    Location
    Your Monitor
    Posts
    4,313
    Thanks
    58
    Thanked 525 Times in 512 Posts
    Blog Entries
    5
    Sounds like firefox 4 isn't as great as they say it is to me.

    Have you tried it in SeaMonkey to see if it also does the same thing? (Firefox's sister supposed to be better for develoeprs- same engine and rendering in theory).

    Also i highly recommend checking the MD5 hash of both files to be 100% that they are exactly the same. If you dno't have an MD5 program you can download one from the internet or PM me with your email and i'll email you one i use.
    See my new CodingForums Blog: http://www.codingforums.com/blogs/tangoforce/

    Many useful explanations and tips including: Cannot modify headers - already sent, The IE if (isset($_POST['submit'])) bug explained, unexpected T_CONSTANT_ENCAPSED_STRING, debugging tips and much more!

  • #3
    New to the CF scene
    Join Date
    May 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    What about encoding? I had similar problem - two files saved on UTF-8 and another in UTF-8 without BOM. At first look it's the same, but when executed - look different (i.e. whitespaces before doctype's tag).

    Greetings.

  • #4
    New to the CF scene
    Join Date
    May 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    edit: I'm an idiot. All i had to do was reset zoom on each, for some reason FF4 stores zooms differently for offline and online, as well as different filetypes. Thanks for the replies
    Last edited by r_bewick; 05-29-2011 at 11:06 AM.


  •  

    Posting Permissions

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