Go to Post To quote Harrison Ford: "Never tell me the odds". - [more]
Home
Go Back   Chief Delphi > Technical > IT / Communications > Website Design/Showcase
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 16-12-2008, 23:29
Zholl Zholl is offline
Registered User
AKA: Chris Sherwood
FRC #2996 (Cougars Gone Wired)
Team Role: Alumni
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Colorado Springs
Posts: 267
Zholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to behold
Rendering Problem in IE

OK, so I fired up the website today, and realized that I should probably check for compatibility with browsers other than Firefox, and it turns out that IE renders the webpage incorrectly. The little arrows on the sidebar items move about half an inch over, and the sub menu items in the sidebar become double spaced. When I opened it in IE7, half the content was missing. Here's the webpage. Any ideas would be great.

Last edited by Zholl : 17-12-2008 at 08:10.
  #2   Spotlight this post!  
Unread 17-12-2008, 09:42
Andrew Schreiber Andrew Schreiber is offline
Joining the 900 Meme Team
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,068
Andrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond repute
Re: Rendering Problem in IE

Validate your code and CSS, if you are using valid W3 standards your code should render about the same. If you used Dreamweaver or a similar WYSIWYG editor don't assume they generate valid code.

Also, I cannot replicate the error in ie7, what version are you using?
__________________




.
  #3   Spotlight this post!  
Unread 17-12-2008, 09:47
Brandon Martus's Avatar Unsung FIRST Hero
Brandon Martus Brandon Martus is offline
busy.
AKA: B. Slash Kamen
no team
 
Join Date: May 2001
Rookie Year: 1998
Location: Nevada, TX USA
Posts: 5,271
Brandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond repute
Send a message via ICQ to Brandon Martus Send a message via AIM to Brandon Martus Send a message via Yahoo to Brandon Martus
Re: Rendering Problem in IE

I've used this CSS on some sites to make IE7 behave a standards-compliant browser.

http://code.google.com/p/ie7-js/

That may help ya out ..
__________________
Brandon Martus
e-mail
  #4   Spotlight this post!  
Unread 17-12-2008, 17:38
Zholl Zholl is offline
Registered User
AKA: Chris Sherwood
FRC #2996 (Cougars Gone Wired)
Team Role: Alumni
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Colorado Springs
Posts: 267
Zholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to behold
Re: Rendering Problem in IE

On my system, I'm running IE version 7.0.6001.18000 on Vista. I'm not sure what the systems at school are running, but it's some version of IE6. The problems with things moving I'm only having on school systems, but I don't own a system running IE6. I believe it also renders correctly in Safari, but I'm getting that from the media VP, not from my own system.

Last edited by Zholl : 17-12-2008 at 17:49. Reason: figured out w3
  #5   Spotlight this post!  
Unread 17-12-2008, 18:01
EricVicenti EricVicenti is offline
Registered User
FRC #0008 (Paly Robotics)
Team Role: Alumni
 
Join Date: Nov 2007
Rookie Year: 2006
Location: Palo Alto Robotics
Posts: 91
EricVicenti has a spectacular aura aboutEricVicenti has a spectacular aura aboutEricVicenti has a spectacular aura about
Re: Rendering Problem in IE

Are you in standards mode?

PHP Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"
IE doesn't have a strict standards mode, (they call it 'Almost Standards Mode') This doctype should get you as close as possible. If it still doesn't work, you will need to write some browser specific code, which a pain, but doable.
__________________
  #6   Spotlight this post!  
Unread 17-12-2008, 22:23
artdutra04's Avatar
artdutra04 artdutra04 is offline
VEX Robotics Engineer
AKA: Arthur Dutra IV; NERD #18
FRC #0148 (Robowranglers)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2002
Location: Greenville, TX
Posts: 3,078
artdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond repute
Re: Rendering Problem in IE

Quote:
Originally Posted by Andrew Schreiber View Post
Validate your code and CSS, if you are using valid W3 standards your code should render about the same.
Don't ever assume that for Internet Explorer 7 or lower.

(Although for every other browser, that's a valid statement. Firefox, Opera, Safari, and Chrome all render everything pretty much exactly the same.)
__________________
Art Dutra IV
Robotics Engineer, VEX Robotics, Inc., a subsidiary of Innovation First International (IFI)
Robowranglers Team 148 | GUS Robotics Team 228 (Alumni) | Rho Beta Epsilon (Alumni) | @arthurdutra

世上无难事,只怕有心人.
  #7   Spotlight this post!  
Unread 17-12-2008, 22:40
Zholl Zholl is offline
Registered User
AKA: Chris Sherwood
FRC #2996 (Cougars Gone Wired)
Team Role: Alumni
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Colorado Springs
Posts: 267
Zholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to behold
Re: Rendering Problem in IE

Ok, so I've validated my code through the W3 Markup Validation Service, and I'm in the process of fixing the 48 errors and 21 warnings it gave me. Hopefully that will fix the problem....

Oh, and art, could you elaborate? I'd like to know what I'm getting in to here.
  #8   Spotlight this post!  
Unread 17-12-2008, 23:14
DMetalKong's Avatar
DMetalKong DMetalKong is offline
Registered User
AKA: David K.
no team
Team Role: College Student
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Bridgewater
Posts: 144
DMetalKong is a jewel in the roughDMetalKong is a jewel in the roughDMetalKong is a jewel in the rough
Send a message via AIM to DMetalKong
Re: Rendering Problem in IE

Quote:
Originally Posted by Zholl View Post
Ok, so I've validated my code through the W3 Markup Validation Service, and I'm in the process of fixing the 48 errors and 21 warnings it gave me. Hopefully that will fix the problem....

Oh, and art, could you elaborate? I'd like to know what I'm getting in to here.
What he meant was that IE is infamous for its compliance with W3 standards. Just because something validates with W3 does not mean that it will render correctly in IE. Conditional comments are a great example. Conditional comments do not exists in W3 specs, yet IE supports them:

Code:
<!---[if ...]>
Do stuff
<![endif]-->
Ironically, this abnormal behavior is what allows workarounds to IE's non-compliance. Sticking IE-only CSS inside a conditional comment allows for a webpage designer to "fix" some problems that crop up in IE.

Last edited by DMetalKong : 17-12-2008 at 23:16. Reason: Incorrect code posted
  #9   Spotlight this post!  
Unread 18-12-2008, 00:18
Andrew Schreiber Andrew Schreiber is offline
Joining the 900 Meme Team
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,068
Andrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond repute
Re: Rendering Problem in IE

Quote:
Originally Posted by artdutra04 View Post
Don't ever assume that for Internet Explorer 7 or lower.

(Although for every other browser, that's a valid statement. Firefox, Opera, Safari, and Chrome all render everything pretty much exactly the same.)
Art is correct of course, IE7 is notoriously non compliant. However, valid markup would at least minimize your chance that it is your code. Validation should always be a first step in trouble shooting rendering (Second if you view cursing at IE as a step, you should hear some of the vile things I have heard/said about IE) If you have valid html and css you know that it will work in every COMPLIANT browser, now you need to add your tweaks to get it to work in the rest.
__________________




.
  #10   Spotlight this post!  
Unread 18-12-2008, 21:26
daneelshof's Avatar
daneelshof daneelshof is offline
Programming Mentor
FRC #1619 (Up-A-Creek Robotics)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Broomfield, Colorado
Posts: 30
daneelshof has a spectacular aura aboutdaneelshof has a spectacular aura about
Re: Rendering Problem in IE

Firstly, make sure your code is valid. This involves using a Doctype declaration in the main html. Send the whole site through the W3C validator, the errors are verbose enough to be useful to make good changes.

Also, I would suggest separating out your CSS an JS from your HTML and rather reference them. This makes the raw code easier to read and maintain and, believe it or not, can actually solve some of the inconsistencies.

After all of these changes, then you can start making fixes for IE. The Google IE7 JS is pretty good, but I would hesitate using JS to fix what proper conditionals and good CSS can fix.

I would also suggest having an arsenal of web browsers to test in. Even if you don't use them for browsing, testing with them is crucial. I suggest IE6 and IE7, Firefox, WebKit (or Safari), and Opera. I've had completely valid sites fail in Firefox, while be fine in all other browsers including IE.

At least browsers are getting better

Oh, and here is a great site to brush up your skills: http://www.alistapart.com
  #11   Spotlight this post!  
Unread 18-12-2008, 23:02
Zholl Zholl is offline
Registered User
AKA: Chris Sherwood
FRC #2996 (Cougars Gone Wired)
Team Role: Alumni
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Colorado Springs
Posts: 267
Zholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to behold
Re: Rendering Problem in IE

daneel, how exactly do I get IE 6 and 7 on my pc at the same time? The only thing I've ever been able to do is update it
  #12   Spotlight this post!  
Unread 19-12-2008, 10:21
Blad3101 Blad3101 is offline
Registered User
AKA: Shaun
FRC #1518 (Raiders)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Palmyra, NY
Posts: 29
Blad3101 is an unknown quantity at this point
Re: Rendering Problem in IE

There are several programs available, but I recommend using MultipleIE by Tredosoft. It'll give you everything from IE 6.0 to IE 3.0 (Anything below 5.5 shouldn't render correctly anyway).
__________________


Raiders - 1518
  #13   Spotlight this post!  
Unread 19-12-2008, 16:49
Zholl Zholl is offline
Registered User
AKA: Chris Sherwood
FRC #2996 (Cougars Gone Wired)
Team Role: Alumni
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Colorado Springs
Posts: 267
Zholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to behold
Re: Rendering Problem in IE

Thanks for the suggestions. I'll get right on them this weekend. We just finished taking finals, and we're on break until the 7th, so I've got a LOT of free time right now.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bucket Rendering pyr0b0y 3D Animation and Competition 5 14-02-2008 21:46
Rendering Time LBK Rules 3D Animation and Competition 17 20-02-2004 23:39
Rendering on Unix Alexander McGee 3D Animation and Competition 3 02-12-2003 15:05
Rendering Tips Tyler Olds 3D Animation and Competition 27 16-10-2003 01:32
Rendering help marlon_jbt Website Design/Showcase 10 15-10-2003 21:07


All times are GMT -5. The time now is 01:36.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi