Current location: Hot Scripts Forums » General Web Coding » CSS » intenet explorer problems


intenet explorer problems

Reply
  #1 (permalink)  
Old 12-20-06, 01:19 AM
iddx's Avatar
iddx iddx is offline
Newbie Coder
 
Join Date: Aug 2004
Location: California
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
intenet explorer problems

I have a joomla site template that is showing up fine in firefox, but is totally trashed in ie.
the url is http://catalinachoices.org

any suggestions would be appreciated

this will be a site to help reduce drug use among teens on catalina.

the original php is
PHP Code:

<?php

defined
'_VALID_MOS' ) or die( 'Restricted access' );
// needed to seperate the ISO number from the language file constant _ISO
$iso explode'='_ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'$iso[1] .'"?' .'>';
?>
<!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 mosShowHead(); ?>
<?php
if ( $my->id ) {
    
initEditor();
}
$collspan_offset = ( mosCountModules'right' ) + mosCountModules'user2' ) ) ? 1;
//script to determine which div setup for layout to use based on module configuration
$user1 0;
$user2 0;
$colspan 0;
$right 0;
// banner combos

//user1 combos
if ( mosCountModules'user1' ) + mosCountModules'user2' ) == 2) {
    
$user1 2;
    
$user2 2;
    
$colspan 3;
} elseif ( 
mosCountModules'user1' ) == ) {
    
$user1 1;
    
$colspan 1;
} elseif ( 
mosCountModules'user2' ) == ) {
    
$user2 1;
    
$colspan 1;
}

//right based combos
if ( mosCountModules'right' ) and ( empty( $_REQUEST['task'] ) || $_REQUEST['task'] != 'edit' ) ) {
    
$right 1;
}
?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO?>" />
<link href="<?php echo $mosConfig_live_site;?>/templates/rhuk_solarflare_ii/css/template_css.css" rel="stylesheet" type="text/css" />
</head>
<body>

<div align="center">
    <table border="0" cellpadding="0" cellspacing="0" width="808">
        <tr>
            <td class="outline">
                  <div id="buttons_outer">
                    <div id="buttons_inner">
                        <div id="buttons">
                        <?php mosLoadModules 'user3', -1); ?>
                        </div>
                    </div>
                  </div>
                  <div id="search_outer">
                    <div id="search_inner">
                    <?php mosLoadModules 'user4', -); ?>
                    </div>
                  </div>
                  <div class="clr"></div>
                  <div id="header_outer">
                      <div id="header">
                      &nbsp;
                      </div>
                      <div id="top_outer">
                        <div id="top_inner">
                        <?php
                          
if ( mosCountModules'top' ) ) {
                              
mosLoadModules 'top', -);
                          } else {
                              
?>
                              <span class="error">Top Module Empty</span>
                              <?php
                          
}
                          
?>
                         </div>
                  </div>
                  </div>
                  <div id="left_outer">
                      <div id="left_inner">
                      <?php mosLoadModules 'left', -); ?>
                      </div>
                  </div>
                  <div id="content_outer">
                    <div id="content_inner">
                    <?php
                      
if ( mosCountModules ('banner') ) {
                          
?>
                          <table border="0" cellpadding="0" cellspacing="0" width="100%" class="content_table">
                        <tr>
                                <td>
                                    <div id="banner_inner">
                                    <img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_solarflare_ii/images/advertisement.png" alt="advertisement.png, 0 kB" title="advertisement" border="0" height="8" width="468" /><br />
                                  <?php mosLoadModules'banner', -); ?><br />
                                    </div>
                                    <div id="poweredby_inner">
                                        <img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_solarflare_ii/images/powered_by.png" alt="powered_by.png, 1 kB" title="powered_by" border="0" height="68" width="165" /><br />
                                    </div>
                                </td>
                            </tr>
                            </table>
                            <?php
                      
}
                      
?>
                      <table border="0" cellpadding="0" cellspacing="0" width="100%" class="content_table">
                        <tr valign="top">
                            <td width="99%">
                                <table border="0" cellpadding="0" cellspacing="0" width="100%" class="content_table">

                                <?php
                                
if ($colspan 0) {
                                
?>
                                    <tr valign="top">
                                        <?php
                                      
if ( $user1 ) {
                                          
?>
                                          <td width="50%">
                                              <div class="user1_inner">
                                              <?php mosLoadModules 'user1', -); ?>
                                              </div>
                                          </td>
                                          <?php
                                      
}
                                      if ( 
$colspan == 3) {
                                         
?>
                                            <td width="2">
                                                <img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_solarflare_ii/images/spacer.png" alt="" title="spacer" border="0" height="10" width="2" />
                                            </td>
                                        <?php
                                        
}
                                      if ( 
$user2 ) {
                                          
?>
                                          <td width="50%">
                                              <div class="user2_inner">
                                              <?php mosLoadModules 'user2', -); ?>
                                              </div>
                                          </td>
                                          <?php
                                      
}
                                        
?>
                                    </tr>
                                    <tr>
                                        <td colspan="<?php echo $colspan?>">
                                            <img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_solarflare_ii/images/spacer.png" alt="" title="spacer" border="0" height="2" width="100" /><br />
                                        </td>
                                    </tr>
                                    <?php
                                    
}
                                
?>
                                <tr>
                                    <td colspan="<?php echo $colspan?>">
                                        <div id="pathway_text">
                                        <?php mosPathWay(); ?>
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="<?php echo $colspan?>" class="body_outer">
                                       <?php mosMainBody(); ?>
                                    </td>
                                </tr>
                                </table>


                            </td>
                            <?php
                            
if ( $right ) {
                          
?>
                          <td>
                              <div id="right_outer">
                                  <div id="right_inner">
                                  <?php mosLoadModules 'right', -); ?>
                                  </div>
                              </div>
                          </td>
                          <?php
                      
}
                      
?>

                        </tr>
                        </table>
                  </div>
              </div>

<img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_solarflare_ii/images/footer.jpg" alt="" title="footer" border="0"/>
          </td>
      </tr>
  </table>
</div>
<?php include_once( $GLOBALS['mosConfig_absolute_path'] . '/includes/footer.php' ); ?>
<?php mosLoadModules
'debug', -);?>
</body>
</html>

Last edited by Nico; 12-20-06 at 02:07 AM. Reason: Please use [php] wrappers when posting PHP code.
Reply With Quote
  #2 (permalink)  
Old 12-20-06, 02:11 AM
Nico's Avatar
Nico Nico is offline
Community Leader
 
Join Date: Sep 2005
Location: Spain
Posts: 8,075
Thanks: 11
Thanked 88 Times in 83 Posts
I'm moving this to CSS cause it has nothing to do with PHP. Also, it seems to look pretty much the same to me on both browsers. Where is the problem? Please post your CSS code too.
Reply With Quote
  #3 (permalink)  
Old 12-20-06, 05:53 AM
Fahad_1 Fahad_1 is offline
Newbie Coder
 
Join Date: Oct 2006
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
IE has got lots and lots of probs with css. Firefox is the best.

IE6 cant even handle a <div> well. but IE 7 seems to oversome some of its problem.
__________________
Fahad
http://www.frinity.com - a blog from a web addict
Reply With Quote
  #4 (permalink)  
Old 12-20-06, 06:03 AM
Shaffer Shaffer is offline
Wannabe Coder
 
Join Date: Sep 2006
Location: Israel
Posts: 149
Thanks: 0
Thanked 0 Times in 0 Posts
Yeah, it looks the same for me too.
__________________
Hello from Israel!
Reply With Quote
  #5 (permalink)  
Old 12-21-06, 11:39 AM
jfulton's Avatar
jfulton jfulton is offline
Community VIP
 
Join Date: Apr 2006
Location: Los Angeles, CA
Posts: 660
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Fahad_1
IE6 cant even handle a <div> well.
Hmmm...would you mind explaining that one?
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
IE problems with encoding and displaying pages kittenesque HTML/XHTML/XML 1 10-21-06 04:59 PM
Internet explorer and images that support transparency xxvatarxx The Lounge 0 08-20-06 07:10 PM
Password Problems in VB6 iceiceady Visual Basic 6 03-28-06 03:17 PM
2 spacing/alignment problems Arowana HTML/XHTML/XML 0 01-07-04 11:58 AM


All times are GMT -5. The time now is 01:58 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.