Advanced Search

Results 1 to 4 of 4

Thread: Same html/css different space

  1. #1
    Join Date
    Oct 2012
    Posts
    129
    Thanks
    15
    Thanked 1 Time in 1 Post

    Default Same html/css different space

    I honestly have no clue what the problem might be. Tried everything, nothing seems to be working. The problem persists in Chrome, Firefox and Safari. IE doesn't have it.

    These pages are pretty much identical. Check the space right above post free ad. It's narrow:

    http://qwikad.com/index.php?view=pos...id=263&lang=en



    Then check the space above post in all cities. It's wider:

    http://qwikad.com/index.php?view=pos...id=697&lang=en



    Is this a bug that needs to be fixed or am I missing something? I rechecked everything like 20 times now, no idea what's going on.


    Thanks for any input.

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    1,885
    Thanks
    16
    Thanked 288 Times in 287 Posts
    Blog Entries
    4

    Default

    It's because the file for the 2nd link (the one with the larger gap) contains Unicode characters.

    Open the page in Notepad - skim down and you'll see the #posting_width div font looks different? Those are the Unicode encoded characters that are causing the glitch.

    To fix things, go to File, Save As (but don't actually save it just yet) - you'll see the Encoding option set to UTF-8. Change it to ANSI and then save it again. You'll get a warning saying that you'll lose Unicode characters if you save as an ANSI file, but this is what you want to happen, so click OK.

    Then open the new ANSI encoded file up again in Notepad and go back to the #posting_width div. It's been converted but there will now be a question mark in front of the line, like this;
    Code:
    ?<div id="posting_width">
    Remove the "?" and save again in ANSI mode and that should fix things (ie - narrow the gap).
    Last edited by Beverleyh; 05-31-2013 at 03:53 PM.
    Focus on Function Web Design | Latest News RSS | Facebook | Twitter |
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps |
    The only limit to creativity is imagination: JemCon.org

  3. The Following User Says Thank You to Beverleyh For This Useful Post:

    qwikad.com (05-31-2013)

  4. #3
    Join Date
    Oct 2012
    Posts
    129
    Thanks
    15
    Thanked 1 Time in 1 Post

    Default

    That did it. Thank you so much. That's probably the 5th time you helped me. God bless you!

  5. #4
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    1,885
    Thanks
    16
    Thanked 288 Times in 287 Posts
    Blog Entries
    4

    Default

    My pleasure - Glad to help another webby person
    Focus on Function Web Design | Latest News RSS | Facebook | Twitter |
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps |
    The only limit to creativity is imagination: JemCon.org

Similar Threads

  1. Collapsed space then black space appears in ultimate fade-in slideshow
    By cnymike in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 07-29-2010, 03:35 PM
  2. Resolved extra space in IE
    By corypark in forum CSS
    Replies: 6
    Last Post: 11-18-2008, 07:49 AM
  3. clarification - space or no space
    By brentnicholas in forum CSS
    Replies: 3
    Last Post: 09-10-2008, 02:37 PM
  4. Getting rid of some space in IE6/7
    By Old John in forum HTML
    Replies: 1
    Last Post: 10-24-2007, 08:20 PM

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
  •