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
Runtime Error when opening in IE6
Old 07-14-2007, 01:14 AM Runtime Error when opening in IE6
Webmaster Talker

Posts: 626
Trades: 0
Hello,

I've been gone for a while because I've been really really busy, but I have started working on a site again.

I was wondering if someone can please take a look at it and tell me what could be causing the error? I know it has to be something in the CSS file because it only happens if I load this particular template.

Here is a link to the site: Click Here
** On the left side of the page you have to change the template to bubbles and then click select.

Here is the CSS code:
HTML Code:
/* CSS 
   Dark Blue = #000066
   Blue = #000099
   Blue Background = #9999FF
   Yellow = #FFFF66
   Red = #990000
   Grey = #999999
*/

* {
  margin: 0;
  padding: 0;
}

body {
	 background-color: #ffff66;
	 font-family: Verdana, Arial, Sans Serif;
	 color: #999999;
	 font-size: 76%;
}

ul, ol { list-style: none; }

h1 {
   margin-bottom: .6em;
   color: #000099;
   font-size: 1.8em;
}

h2 {
   margin-bottom: .5em;
   color: #990000;
   font-size: 1.6em;
}

h3 {
   margin-bottom: .4em;
   color: #000099;
   font-size: 1.4em;
}

h4 {
   margin-bottom: .3em;
   color: #000099;
   font-size: 1.2em;
   font-weight: bold;
}

#container-outer {
   width: 780px;
   margin: 20px auto;
}

#container {
   width: 780px;
   background-color: #FFFFFF;
   border: 1px solid black;
}

#resizer {
   clear: both;
   width: 150px;
   height: 25px;
   background-color: red;
}

#header {
   background-color: #9999FF;
   height: 200px;
   width: 100%;
}

#logo {
   margin: 10px 0 0 10px;
   float: left;
}

#header-right {
   background-color: orange;
   width: 23%;
   height: 180px;
   float: right;
   margin: 10px 10px 0 0;
}

/***********************/
/***** TOP MENU ********/
/***********************/

#navbar {
   background-image: url(../images/gradient.png);
   background-repeat: repeat-x;
   width: 100%;
   height: 40px;
}

.moduletable-navbar {
   float: right;
   width: 550px;
   background-color: #000066;
   background: url(../images/gradient-menu.png) repeat-x top left;
   display: table;
   table-layout: fixed;
}

#mainlevel-navbar {
   display: table-row;
   width: 100%;
   height: 30px;
   background: url(../images/gradient-menuend.png) no-repeat top left;
   padding: 0 2.8% 0 2.8%;
}

#mainlevel-navbar li {
   display: table-cell;
   vertical-align: middle;
   height: 30px;
   width: 18.9%;
   text-align: center;
}

#mainlevel-navbar li a {
   color: #FFFFFF;
   display: block;
   width: 100%;
   font-weight: bold;
   text-decoration: none;
}
   
#mainbody {
   float: right;
   width: 630px;
}

#sidebar {
   width: 150px;
   float: left;
   height: 100px;
   background-color: pink;
}

#pathway {
   background-color: darkred;
   width: 100%;
   height: 30px;
   clear: both;
}

#content {
   width: 480px;
   background-color: white;
   height: 450px;
   float: left;
}

#newsbox {
   width: 90%;
   height: 200px;
   background-color: darkgrey;
   margin: 0 auto;
}

#sidebar2 {
   width: 150px;
   height: 250px;
   background-color: purple;
   float: right;
}

#footer {
   width: 780px;
   text-align: right;
   color: #000000;
   margin: 0 auto;
}

.clr { clear: both; }
jim.thornton is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-14-2007, 02:40 AM Re: Runtime Error when opening in IE6
angele803's Avatar
Perfectly Imperfect

Posts: 1,774
Name: Stephanie
Location: Oklahoma
Trades: 2
I could be wrong, but I don't think CSS can cause a runtime error. I am pretty sure it must be something with the javascript. Im not good with javascript (yet) , but there are plenty of other members who are good with it. If someone else confirms that this is a javascript error, I can move this post over to the Javascript forum. That way, you might get some more answers.
angele803 is offline
Reply With Quote
View Public Profile
 
Old 07-14-2007, 10:20 AM Re: Runtime Error when opening in IE6
Webmaster Talker

Posts: 626
Trades: 0
I just checked it out and it is definitely 100% the CSS coding that is causing the problem.

If I comment out the #mainbody selector and all the properties, I don't get the error. If I leave it in, then I get the runtime error.

I've tried commenting out everything else but it seems to be this ONE thing (#mainbody).

What's weird is all that there is in there is float: right and the width: 630px;

If someone can please help me figure this out, I would greatly appreciate it.
jim.thornton is offline
Reply With Quote
View Public Profile
 
Old 07-14-2007, 10:30 AM Re: Runtime Error when opening in IE6
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
No errors here

but no menu other than home when compared to FF
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-14-2007, 11:55 AM Re: Runtime Error when opening in IE6
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
I also seriously doubt that any CSS would cause a run-time error. CSS doesn't RUN anything, the browser interprets the code and applies it.

I didn't get any errors in IE 6 on XP SP2 either.
__________________
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 07-14-2007, 12:20 PM Re: Runtime Error when opening in IE6
Monyet's Avatar
Average Talker

Posts: 23
Location: www.ProgrammersTalk.net
Trades: 0
what do you mean by runtime error? is it spiting you out error message?
from what I know of, CSS doesn't do this..
__________________

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

Hang out place of novice and intermediate programmers
Monyet is offline
Reply With Quote
View Public Profile Visit Monyet's homepage!
 
Old 07-14-2007, 05:09 PM Re: Runtime Error when opening in IE6
angele803's Avatar
Perfectly Imperfect

Posts: 1,774
Name: Stephanie
Location: Oklahoma
Trades: 2
Does your javascript code refer to the #mainbody div anywhere? The problem could be there.
angele803 is offline
Reply With Quote
View Public Profile
 
Old 07-14-2007, 06:54 PM Re: Runtime Error when opening in IE6
Webmaster Talker

Posts: 626
Trades: 0
No the javascript doesn't refer to any #mainbody code. I am aware that CSS doesn't run anything, however I think there is some kind of conflict with the float property in #mainbody.

I can't figure this out... It doesn't happen when I comment out #mainbody.

Did you guys change the template? Or did you leave it on the grey/white page. Because on there, there is no error message.

As for what error I'm getting it is:

Microsoft Visual C++ Runtime Library
Runtime error!

Program: c:\Program Files\Internet Explorer\IEXPLORER.EXE

R6025
- pure virtual function call
jim.thornton is offline
Reply With Quote
View Public Profile
 
Old 07-14-2007, 06:55 PM Re: Runtime Error when opening in IE6
Webmaster Talker

Posts: 626
Trades: 0
If you wouldn't mind looking again for me I would appreciate it. I'm using Win2k Pro SP 4.

Again, it is the bubbles temple: yellow/blue/white with a few placeholders right now.
jim.thornton is offline
Reply With Quote
View Public Profile
 
Old 07-14-2007, 07:26 PM Re: Runtime Error when opening in IE6
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
That's more than likely going to be an error on some toolbar you have installed.

Try with all the toolbars you have turned off
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-14-2007, 08:57 PM Re: Runtime Error when opening in IE6
Webmaster Talker

Posts: 626
Trades: 0
The only toolbar that I have installed is Google. I just turned it off and it still gives me the error.

I don't understand why it would only happen when the float property is in #mainbody. If I remove that property it doesn't happen.
jim.thornton is offline
Reply With Quote
View Public Profile
 
Old 07-14-2007, 11:03 PM Re: Runtime Error when opening in IE6
angele803's Avatar
Perfectly Imperfect

Posts: 1,774
Name: Stephanie
Location: Oklahoma
Trades: 2
I cant duplicate an error in firefox or ie6. And I am changing it to the bubble template. Do you have visual studios installed on your machine? Sometimes it produces errors when you load a page and will ask you to debug. Could that be the problem?
angele803 is offline
Reply With Quote
View Public Profile
 
Old 07-14-2007, 11:11 PM Re: Runtime Error when opening in IE6
Webmaster Talker

Posts: 626
Trades: 0
No, I don't have the problem... This is the weirdest error I have ever gotten!

Thank you for everyone's help though!!! I have managed to fix it. It was definitely either a problem with the HTML or the CSS. I deleted the HTML and commented out all of the CSS. I then commented it each element one at a time as I rebuilt the HTML.

Now it works perfect! Thanks for the help!!!
jim.thornton is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Runtime Error when opening in IE6
 

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 0.37345 seconds with 12 queries