Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
CSS Disaster! Missing parts in IE
Old 10-04-2010, 12:34 PM CSS Disaster! Missing parts in IE
Chris_123K's Avatar
Super Talker

Posts: 128
Name: Chris Kummelstedt
Trades: 0
Hello!

Thanks for reading this newbie post.

I have two very very similar sites:

http://www.beijinggatewayacademy.com/user

(The first one I made - which works in IE)

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr"> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
 
<link rel="shortcut icon" href="/sites/default/files/conch_favicon_0.gif" type="image/x-icon" /> 
 
  <title>admin | Beijing Gateway Academy</title> 
  <link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/admin_menu/admin_menu.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/modules/node/node.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/modules/system/defaults.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/modules/system/system.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/modules/system/system-menus.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/modules/user/user.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/cck/theme/content-module.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/date/date.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/date/date_popup/themes/datepicker.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/date/date_popup/themes/timeentry.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/dhtml_menu/dhtml_menu.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/filefield/filefield.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/img_assist/img_assist.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/calendar/calendar.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/misc/farbtastic/farbtastic.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/cck/modules/fieldgroup/fieldgroup.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/views/css/views.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/themes/conch/css/reset.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/themes/conch/css/grid.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/themes/conch/css/typography.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/themes/conch/menu/cssmenu/cssmenu.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/themes/conch/css/blue-style.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/themes/conch/css/custom.css?h" /> 
  <!DOCTYPE HTML> 
 
 
  <script type="text/javascript" src="/misc/jquery.js?h"></script> 
<script type="text/javascript" src="/misc/drupal.js?h"></script> 
<script type="text/javascript" defer="defer" src="/sites/all/modules/admin_menu/admin_menu.js?h"></script> 
<script type="text/javascript" src="/sites/all/modules/dhtml_menu/dhtml_menu.js?h"></script> 
<script type="text/javascript" src="/sites/all/modules/img_assist/img_assist.js?h"></script> 
<script type="text/javascript" src="/sites/all/themes/conch/js/jquery.cycle.all.js?h"></script> 
<script type="text/javascript" src="/sites/all/themes/conch/js/supersleight.js?h"></script> 
<script type="text/javascript" src="/sites/all/themes/conch/js/custom.js?h"></script> 
<script type="text/javascript" src="/sites/all/themes/conch/menu/cssmenu/cssmenu.js?h"></script> 
<script type="text/javascript"> 
<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, { "basePath": "/", "admin_menu": { "margin_top": 1 }, "dhtmlMenu": { "slide": "slide", "siblings": "siblings", "doubleclick": "doubleclick", "relativity": 0, "children": 0, "clone": 0 }, "googleanalytics": { "trackOutgoing": 1, "trackMailto": 1, "trackDownload": 1, "trackDownloadExtensions": "7z|aac|avi|csv|doc|exe|flv|gif|gz|jpe?g|js|mp(3|4|e?g)|mov|pdf|phps|png|ppt|rar|sit|tar|torrent|txt|wma|wmv|xls|xml|zip" } });
//--><!]]>
</script> 
<script type="text/javascript"> 
<!--//--><![CDATA[//><!--
window.google_analytics_uacct = "UA-10987136-2";
//--><!]]>
</script> 
 
<script type="text/javascript"> 
$(function() {
        $('#my-calendar td').hover(function(){
               $(this).addClass('over');
        }, function() {
               $(this).removeClass('over');
        });
});
</script> 
 
  <!--[if IE]>
    <link rel="stylesheet" href="/sites/all/themes/conch/css/ie.css" type="text/css" />
  <![endif]--> 
  <!--[if IE 6]>
    <link rel="stylesheet" href="/sites/all/themes/conch/css/ie6.css" type="text/css" />
    <script type="text/javascript" src="/sites/all/themes/conch/js/supersleight.js"></script>
  <![endif]--> 
  <!--[if IE 7]>
    <link rel="stylesheet" href="/sites/all/themes/conch/css/ie7.css" type="text/css" />
  <![endif]--> 
</head>
http://www.learn-mandarin.net

(The second, essentially a copy - but it does not work in IE)

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr"> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
 
<link rel="shortcut icon" href="/sites/default/files/conch_favicon_0.gif" type="image/x-icon" /> 
 
  <title>admin | Beijing Gateway Academy</title> 
  <link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/admin_menu/admin_menu.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/modules/node/node.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/modules/system/defaults.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/modules/system/system.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/modules/system/system-menus.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/modules/user/user.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/cck/theme/content-module.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/date/date.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/date/date_popup/themes/datepicker.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/date/date_popup/themes/timeentry.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/dhtml_menu/dhtml_menu.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/filefield/filefield.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/img_assist/img_assist.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/calendar/calendar.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/misc/farbtastic/farbtastic.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/cck/modules/fieldgroup/fieldgroup.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/views/css/views.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/themes/conch/css/reset.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/themes/conch/css/grid.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/themes/conch/css/typography.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/themes/conch/menu/cssmenu/cssmenu.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/themes/conch/css/blue-style.css?h" /> 
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/themes/conch/css/custom.css?h" /> 
  <!DOCTYPE HTML> 
 
 
  <script type="text/javascript" src="/misc/jquery.js?h"></script> 
<script type="text/javascript" src="/misc/drupal.js?h"></script> 
<script type="text/javascript" defer="defer" src="/sites/all/modules/admin_menu/admin_menu.js?h"></script> 
<script type="text/javascript" src="/sites/all/modules/dhtml_menu/dhtml_menu.js?h"></script> 
<script type="text/javascript" src="/sites/all/modules/img_assist/img_assist.js?h"></script> 
<script type="text/javascript" src="/sites/all/themes/conch/js/jquery.cycle.all.js?h"></script> 
<script type="text/javascript" src="/sites/all/themes/conch/js/supersleight.js?h"></script> 
<script type="text/javascript" src="/sites/all/themes/conch/js/custom.js?h"></script> 
<script type="text/javascript" src="/sites/all/themes/conch/menu/cssmenu/cssmenu.js?h"></script> 
<script type="text/javascript"> 
<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, { "basePath": "/", "admin_menu": { "margin_top": 1 }, "dhtmlMenu": { "slide": "slide", "siblings": "siblings", "doubleclick": "doubleclick", "relativity": 0, "children": 0, "clone": 0 }, "googleanalytics": { "trackOutgoing": 1, "trackMailto": 1, "trackDownload": 1, "trackDownloadExtensions": "7z|aac|avi|csv|doc|exe|flv|gif|gz|jpe?g|js|mp(3|4|e?g)|mov|pdf|phps|png|ppt|rar|sit|tar|torrent|txt|wma|wmv|xls|xml|zip" } });
//--><!]]>
</script> 
<script type="text/javascript"> 
<!--//--><![CDATA[//><!--
window.google_analytics_uacct = "UA-10987136-2";
//--><!]]>
</script> 
 
<script type="text/javascript"> 
$(function() {
        $('#my-calendar td').hover(function(){
               $(this).addClass('over');
        }, function() {
               $(this).removeClass('over');
        });
});
</script> 
 
  <!--[if IE]>
    <link rel="stylesheet" href="/sites/all/themes/conch/css/ie.css" type="text/css" />
  <![endif]--> 
  <!--[if IE 6]>
    <link rel="stylesheet" href="/sites/all/themes/conch/css/ie6.css" type="text/css" />
    <script type="text/javascript" src="/sites/all/themes/conch/js/supersleight.js"></script>
  <![endif]--> 
  <!--[if IE 7]>
    <link rel="stylesheet" href="/sites/all/themes/conch/css/ie7.css" type="text/css" />
  <![endif]--> 
</head>
Sorry for posting so much code here - I don't know where the problem is.

Chrome, Safari handles it like a charm but there is a crash when opened with Internet Explorer.

Please, I will be eternally grateful if you could point me in the right direction.

I have exhausted all ideas (probably because I am new at this still).

Thanks for your time!

Chris
Chris_123K is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-04-2010, 03:10 PM Re: CSS Disaster! Missing parts in IE
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
What VERSION of IE?
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 10-04-2010, 04:43 PM Re: CSS Disaster! Missing parts in IE
Crimson's Avatar
Skilled Talker

Posts: 56
Name: Connor
Location: United States
Trades: 0
That is a lot of <LINK> tags! But that's not necessarily a bad thing, just unusual

Just looking at the code here, I see you have two <!DOCTYPE> tags, one at the start and one in the middle of your code. Try removing the second one and see if that helps.

The other thing is you have some conditional code at the bottom that loads certain stylesheets and scripts in certain versions of IE, one of those might be the issue.
__________________

Please login or register to view this content. Registration is FREE

I solve code problems, browser compatibility (including IE 6), Wordpress trouble, the works.

Last edited by Crimson; 10-04-2010 at 04:45 PM..
Crimson is offline
Reply With Quote
View Public Profile Visit Crimson's homepage!
 
Old 10-04-2010, 11:02 PM Re: CSS Disaster! Missing parts in IE
Chris_123K's Avatar
Super Talker

Posts: 128
Name: Chris Kummelstedt
Trades: 0
LadyNRed - IE 7

Crimson - Hehe, I know! The <LINK> tags are all Drupal's additions.

I actually added the second !DOCTYPE (in the second site) after I compared the two sites and realized that the first one had another one in that position.

Thanks so much for your time guys
Chris_123K is offline
Reply With Quote
View Public Profile
 
Old 10-04-2010, 11:37 PM Re: CSS Disaster! Missing parts in IE
Chris_123K's Avatar
Super Talker

Posts: 128
Name: Chris Kummelstedt
Trades: 0
Fixed! My friend looked through it all and helped me spot a rouge " in the css!

sorry to have wasted your time!
Chris_123K is offline
Reply With Quote
View Public Profile
 
Old 10-05-2010, 04:34 AM Re: CSS Disaster! Missing parts in IE
edgray's Avatar
Super Moderator

Latest Blog Post:
Frantic
Posts: 4,264
Name: Sugarcane Gray
Location: Hell, Southern Spain
Trades: 0
that's a serious amount of CSS files you've got going on there...
__________________

Please login or register to view this content. Registration is FREE
- a project in video and sound.

Please login or register to view this content. Registration is FREE
"Absolute Rubbish, an insult to the blues." - NME.

Please login or register to view this content. Registration is FREE
- Come use our agency :)
edgray is offline
Reply With Quote
View Public Profile Visit edgray's homepage!
 
Reply     « Reply to CSS Disaster! Missing parts in IE
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.36603 seconds with 12 queries