"" error on html page at top

Discussion in 'HTML & Website Design' started by khalid, May 2, 2007.

  1. #1
    Hi, I get "" displayed at the top of a html page I created and I cannot delete it.

    It is visible in the source code when you look at the site online but not through an editor. A friend suggested it was a programming error.

    Can you help? You can see it on www.kortaz.com

    Thanks.
     
    khalid, May 2, 2007 IP
  2. Mr Blonde

    Mr Blonde Guest

    Messages:
    142
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    try taking the iframe out of the <head> tags and put it into the body, and remove one of your body tags as you have two
     
    Mr Blonde, May 2, 2007 IP
  3. vahsi000

    vahsi000 Well-Known Member

    Messages:
    706
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    140
    #3
    If you can see it in the source code then just open up your html page with with notepad and removie that bit of code. When i checked your website, I couldn't see it.
     
    vahsi000, May 2, 2007 IP
  4. Louis11

    Louis11 Active Member

    Messages:
    783
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    70
    #4
    
    </head><body padding="0px" margin="0px" alink="#ffffff" background="img/background.gif" link="#ffffff" vlink="#ffffff">
    
    Code (markup):
    I checked. I saw it... I looked at your code and the characters are in there (shown above). Open up the site in your choice of editor and simply remove the characters. :)
     
    Louis11, May 2, 2007 IP
  5. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #5
    That's the Byte Order Mark (BOM). It is a trouble maker for IE, as it will kick IE into quirks mode. (It comes before the DTD.) The problem lies with your text editor. There should be a way to select the character encoding. Usually, if it says Unicode, there will be a BOM. Select utf-8. There could be a choice there, so select the one without the mark.

    cheers,

    gary
     
    kk5st, May 2, 2007 IP
  6. khalid

    khalid Active Member

    Messages:
    1,628
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    80
    #6
    I've tried all the edits so far guys and none solve the problem.

    kk5st - How do I change the character encoding? Frontpage won't allow it, the "web settings" option is disabled, I cannot click on it.

    Thanks so far.
     
    khalid, May 3, 2007 IP
  7. AmeryWeb

    AmeryWeb Guest

    Messages:
    92
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #7
    khalid,
    I don't know how frontpage settings work as I've never used it (don't plan to, either).
    But, the easiest way to fix your problem is to use Notepad2 to convert the encoding.
    Just download the binary and unzip it. It can be run out of the box without installation.
    Open your html and select "File" > "Encoding" and choose UTF-8. Save. You're done.
     
    AmeryWeb, May 3, 2007 IP
  8. khalid

    khalid Active Member

    Messages:
    1,628
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    80
    #8
    Awesome!

    Done! Thank you :D
     
    khalid, May 3, 2007 IP