Strange problem with the HEADER! Need help please...

Discussion in 'HTML & Website Design' started by G_next, Sep 3, 2010.

  1. #1
    Here it is:

    http://www.milioneretekspres.com/lr/sukses/index_prova2.html

    I created this page as it's the source to one product launch I'm doing
    in my country, but I'm having this problem that is moving my page one
    space down and it creates visual disorder.

    If you notice in the top of the header, you can find a script like the following:

    > '; else echo ''; ?>

    It's in black and that's why you can't see it (because the background
    there is black) but for the visual part of my site it's bad (it needs to be
    clean cause it will be seen from thousands of people)!

    If somebody can help me, I would be grateful...

    Thank you in advance guys,
    Laidi
     
    G_next, Sep 3, 2010 IP
  2. JJulian

    JJulian Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I am not really an expert but I think the problem is in the opening html tag
    <html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:eek:g="http://opengraphprotocol.org/schema/"
    xmlns:fb="http://www.facebook.com/2008/fbml" <?php language_attributes(); ?>>

    I don't think <?php language_attributes(); ?> belongs there.

    Julie
     
    JJulian, Sep 3, 2010 IP
  3. JJulian

    JJulian Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I am not really an expert but I think the problem is in the opening html tag
    <html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:eek:g="http://opengraphprotocol.org/schema/"
    xmlns:fb="http://www.facebook.com/2008/fbml" <?php language_attributes(); ?>>

    I don't think <?php language_attributes(); ?> belongs there.

    Plus when I look at your source code there are errors with the php. you have some tags that aren't properly closed.

    Julie
     
    JJulian, Sep 3, 2010 IP
  4. indescoz

    indescoz Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I looked your code, I think there is no if condition and only else block. If you taken this code from somewhere else remove that else block, if you need my help Pm me.
     
    indescoz, Sep 3, 2010 IP
  5. G_next

    G_next Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hey, thank you very much both! You were both right on this one.
    I removed that block and the problem disappeared! The funny thing
    was that I thought it was necessary for the facebook comments
    plugin to work. Apparently it wasn't so now I'm released :)

    Thanx again guys,
    Laidi

    Catch you on the forums...
     
    G_next, Sep 6, 2010 IP