943,907 Members | Top Members by Rank

Ad:
Jul 16th, 2009
0

Web page loading errors

Expand Post »
Hello, I am new webmaster for my high school's robotics team and I don't understand why the pages load differently in IE8 and FireFox.

http://www.team188.com is the website...

Ok, so here is what the problem is : When I open certain pages in IE8, the area around the curve on the top is the only thing in red. The entire blue part should be red.

The page sets a cookie everytime you load it, which stores either 'uniform' or 'os' (for oldschool), then in the main index file, it checks the cookie and opens the appropriate .css file.

Like this,


php Syntax (Toggle Plain Text)
  1. <link rel="stylesheet" type="text/css" title="User's style" media="all" href="/core/<?php echo (!$sitetheme)?'uniform':$sitetheme ?>.css" />


now, each style sheet has completely different colours. they both are stored in http://www.team188.com/core/ (either uniform or os .css)

I have messed around for months now and I still don't understand the problem. Can someone help?

Thanks.

EDIT : Also, the problem can easily be fixed by anyone if they refresh the affected page once... Its really strage.. have even tried to set uniform.css as the only stylesheet and completely disable the other one... still doesnt work...

EDIT : This is what sets the colours in uniform.css

php Syntax (Toggle Plain Text)
  1. .curvestack {
  2. background-image:url(grid_uniform.png);
  3. }
  4.  
  5. html {
  6. color:#000;
  7. background-color:#980101;
  8. background-image:url(grid_uniform.png);
  9. }

grid_uniform is basically two pixel image (I think..) The same goes for os.css but the image name is different (the pic is blue instead of red)
Last edited by djextreme5; Jul 16th, 2009 at 7:35 pm.
Similar Threads
Reputation Points: 76
Solved Threads: 6
Junior Poster
djextreme5 is offline Offline
103 posts
since Mar 2009
Jul 16th, 2009
0

Re: Web page loading errors

NVM with all that nonsense.... the problem is the cookie.
Reputation Points: 76
Solved Threads: 6
Junior Poster
djextreme5 is offline Offline
103 posts
since Mar 2009

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Site Layout and Usability Forum Timeline: tables vs divs & workflow advice? And a list for CSS workarounds for browsers?
Next Thread in Site Layout and Usability Forum Timeline: newbie needs little help please





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC