34 users online (1 members and 33 guests)  


  Results 1 to 2 of 2

Related

  1. Replies: 1
  2. displaying icon in IE7 Tab header    Forum: HTML Forum
    Replies: 2
  3. content type header    Forum: CGI Perl Forum
    Replies: 3
  4. Unknown file on desktop appears.....    Forum: General Discussion
    Replies: 5
  5. Same Header Side Bar On Every Page    Forum: HTML Forum
    Replies: 1
  1. #1
    darinb's Avatar
    New User

    Status
    Offline
    Join Date
    Jul 2005
    Posts
    1

    Header appears different in Firefox & IE

    I have a question about a theme I am customizing in Mambo. The theme appears fine in Internet explorer 6 but when opened in the latest version of Firefox the header overlaps the content & menu of the page.

    Here is the page in IE 6
    http://www.digitalmagic.us/td2.jpg

    Here is the image in Mozilla Firefox
    http://www.digitalmagic.us/td1.jpg



    Here is the index.php code

    I am changing the header from a .gif image to a flash .swf movie.

    The Header code is line 42 through 51

    Code:
    <?php
    
    /**
    * @version $Id:index.php,v 1.0 $
    * @copyright (C) 
    * @license http://webaddress
    * @author http://webaddress
    */
    
    require_once dirname(__FILE__) ."/includes/menu.php";
    
    defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <?php
               if ( $my->id ) {
                initEditor();
        }
    ?>
    <meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
    <?php mosShowHead(); ?>
    
    <link type="text/css" media="screen, projection" href="<?php echo $mosConfig_live_site;?>/templates/ms_june2005/css/template_css.css" rel="stylesheet" type="text/css" />
    <link type="text/css" media="screen, projection" href="<?php echo $mosConfig_live_site;?>/templates/ms_june2005/css/menuhover.css" rel="stylesheet" id="hoverJS" />
    
    <script language="Javascript" type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/ms_june2005/js/theme.js"></script>
    <script language="Javascript" type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/ms_june2005/js/hybridmenu.js"></script>
    <script language="Javascript" type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/ms_june2005/js/slidemenu.js"></script>
    
    <!-- compliance patch for microsoft browsers -->
    <!--[if lt IE 7]>
    <link href="<?php echo $mosConfig_live_site;?>/templates/ms_june2005/template.php?task=css_ieonly" rel="stylesheet" type="text/css" media="screen,projection" />
    <![endif]-->
    
    <body>
    
    <a name="top" id="top"></a>
    <div id="container">
    
                <tr>
                <table width="775" height="300" border="0" align="center" cellpadding="0" cellspacing="0">
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="775" height="300"  align="right">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="templates/ms_june2005/images/logo_header.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#000000" />
    <embed src="templates/ms_june2005/images/logo_header.swf" quality="high" bgcolor="#000000" width="775" height="300" align="right" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
    </object>
                 </tr>
    
    
    
    
               <tr>
        <td id="menu" colspan="3">
                  <div id="login"><?php mosLoadModules ( 'inset', -2 ); ?></div>
                  <?php echo mainMenu(); ?>
    
        </td>
        </tr>
        <tr id="content">
    
                  <td id="colM">
                          <?php mosPathWay(); ?>
                                 <?php if (mosCountModules('user1') || mosCountModules('user2')) { ?>
                                                                    <table class="user1" id="box">
                                                                            <tr valign="top">
                                                                              <?php if (mosCountModules('user1') > 0) { ?>
                                                                                    <td class="<?php echo $greybox; ?>box">
                                                                                            <?php mosLoadModules('user1', -3); ?>
                                                                                    </td>
                                                                                    <?php } ?>
                                                                                    <?php if (mosCountModules('user1') && mosCountModules('user2')) { ?>
                                                                                    <td class="spacer"></td>
                                                                                    <?php } ?>
                                                                                    <?php if (mosCountModules('user2') > 0) { ?>
                                                                                    <td class="<?php echo $greybox; ?>box">
                                                                                            <?php mosLoadModules('user2', -3); ?>
                                                                                    </td>
                                                                                    <?php } ?>
                                                                            </tr>
                                                                    </table>
                                                                    <?php } ?>
    
                            <?php mosLoadModules ( 'top', -2 ); ?>
                       <?php mosMainBody(); ?>
                       <?php mosLoadModules ( 'bottom', -2 ); ?>
                    </td>
    
                     <td id="colL">
                           <?php echo sideMenu(); ?>
                      <?php mosLoadModules ( 'left',  -2 ); ?>
                       <?php mosLoadModules ( 'user4', -2 ); ?>
                       <?php mosLoadModules ( 'user5', -2 ); ?>
                   </td>
    
            </tr>
            </table>
            <div id="footer">
                       <div>Copyright 2005 MamboSolutions</a></div>
                   </div>
    </div>
    <?php mosLoadModules( 'debug', -1 );?>
    </body>
     </html>

    Here is the templates original header code:

    Code:
    <table cellspacing="0">
               <tr>
                <td id="header" colspan="3">
    
                    </td>
               </tr>


    I'm far from a pro, so it may be something easy..
    I would appreciate anyone's help on this. Thanks!!
    Last edited by HTML; 03-08-2012 at 05:24 PM.

  2. #2
    ALL's Avatar
    Super Dooper Nerd

    Status
    Offline
    Join Date
    Feb 2005
    Location
    localhost
    Posts
    382

    Re: Header appears different in Firefox & IE

    could you give the web domain? where we could look at the html it generates? it would be much eassier ;-)



Tags for this Thread