treehouse : what would you like to learn today?
Web Design Web Development iOS Development

MyBB header doesn't work on IE

  • Hi all, I'm currently working on a Board layout.. and I tried to put a rotateimage php on the header, aligned at the righ with the logo. However, at the first time I tried with Javascript, however it didn't work with IE. Now I tried using a PHP but it only works on Safari, and it doesn't show any image on FF. What can I do???

    Thanks in advance

    Here's the code I used:
    <div id=\"container\">
    <a name=\"top\" id=\"top\"></a>
    <div id=\"header\">
    <div class=\"logo\"><a href=\"{$mybb->settings['bburl']}/index.php\"><img src=\"{$theme['logo']}\" alt=\"{$mybb->settings['bbname']}\" title=\"{$mybb->settings['bbname']}\" /></a>
    <p class=\"float_right\"><img src=\"http://otakuflame.co.cc/header/rotate.php\" alt=\"A Random Image\" /></p>
    {$welcomeblock}
    </div>
    </div>


    A link of the site so you can see the actual problem: http://otakuflame.co.cc/forum

    And finally, how the header should look: oh I couldn't attach the file =/
    Try using Safari to get the correct result.

    PS: I already tried to use the "Left Align and Right Align on the same line" article.