Welcome to Dream.In.Code
Getting Help is Easy!

Join 105,757 Programmers for FREE! Ask your question and get quick answers from experts. There are 1,732 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



WTH!? Does anything non-MS work in IE7?

2 Pages V  1 2 >  
Reply to this topicStart new topic

WTH!? Does anything non-MS work in IE7?

rodstol
post 26 Jun, 2008 - 03:05 PM
Post #1


New D.I.C Head

*
Joined: 3 Apr, 2008
Posts: 34

The site works fine in Firefox and Safari, but it won't work in IE. I'm assuming it's a bad tag somewhere, but damned if I can find it.
I opened the site on IE 5 with no problems, so obviously something is right, however IE 6&7 can't even open the index page.
Would it be the web page or the browsers?

http://www.rodstol.com


Attached File(s)
Attached File  index.html ( 16.88k ) Number of downloads: 12
User is offlineProfile CardPM

Go to the top of the page


girasquid
post 26 Jun, 2008 - 03:33 PM
Post #2


Barbarbar

Group Icon
Joined: 3 Oct, 2006
Posts: 1,141



Thanked 6 times

Dream Kudos: 625
My Contributions


Take a look at your validation results, and try fixing some of those issues - it might just clear up the IE errors for you.
User is online!Profile CardPM

Go to the top of the page

rodstol
post 27 Jun, 2008 - 09:48 AM
Post #3


New D.I.C Head

*
Joined: 3 Apr, 2008
Posts: 34

Thanks for pointing that sire out Gira, but I'm not understanding what an XML Parsing Error: xmlParseEntityRef: no name. is.
Is that a common problem in IE7?
Is there a site that explains this in layman's terms?

It seems most of the parsing errors are with in the drop down menu.

This post has been edited by rodstol: 27 Jun, 2008 - 10:06 AM
User is offlineProfile CardPM

Go to the top of the page

csmanoj
post 27 Jun, 2008 - 11:13 AM
Post #4


D.I.C Head

Group Icon
Joined: 6 Aug, 2007
Posts: 111



Dream Kudos: 50
My Contributions


I was able to view it in Internet explorer 6. There were slight alignment differences between FF3 and IE6 only in the footer section, but the rest of the page did render correctly.
User is offlineProfile CardPM

Go to the top of the page

rodstol
post 27 Jun, 2008 - 03:33 PM
Post #5


New D.I.C Head

*
Joined: 3 Apr, 2008
Posts: 34

QUOTE(csmanoj @ 27 Jun, 2008 - 11:13 AM) *

I was able to view it in Internet explorer 6. There were slight alignment differences between FF3 and IE6 only in the footer section, but the rest of the page did render correctly.


Thanks a mil for checking. I've had it working with IE6 for a few days now, but I can't get it all to align correctly, and I really can't get it to align or work in IE7.
I've tried in in IE8 Beta and it works and looks like it's supposed to...well kinda.

From what I'm understanding, the problem lies in the CSS file?

QUESTION:

How does IE7 read CSS files that's different from oh geez...the rest off the world?
AND how do you code a CSS file to make it work with Satan..er..IE7.

Oh snap, I just realized my drop down menus quit working. DANGIT!

This post has been edited by rodstol: 27 Jun, 2008 - 04:00 PM
User is offlineProfile CardPM

Go to the top of the page

Mike007
post 30 Jun, 2008 - 10:35 AM
Post #6


D.I.C Head

Group Icon
Joined: 30 Aug, 2007
Posts: 200



Dream Kudos: 75
My Contributions


Well you seem to have a few problems with your markup. First you are not really obeying the rules of XHTML that states that every tag has to be closed, even the img tag (you have a few of these lying around). Another thing is that you have to declare the namespace in XML documents so that is why the parser tells you have a mistake, take a look at your html tag. It should be something like this:
CODE
<html xmlns="http://www.w3.org/1999/xhtml">

Where xmlns is short for xml namespace.

Another thing I've noticed is that you don't terminate some of your javascript statements, which is a very bad habit and leads to problems down the road. So please terminate all you javascript statements properly.

Finally try validating your markup and css with W3C validation tools:
XHTML: http://validator.w3.org/
CSS: http://jigsaw.w3.org/css-validator/

Good luck!

This post has been edited by Mike007: 30 Jun, 2008 - 10:36 AM
User is offlineProfile CardPM

Go to the top of the page

rodstol
post 30 Jun, 2008 - 11:40 AM
Post #7


New D.I.C Head

*
Joined: 3 Apr, 2008
Posts: 34

QUOTE(Mike007 @ 30 Jun, 2008 - 10:35 AM) *

Well you seem to have a few problems with your markup. First you are not really obeying the rules of XHTML that states that every tag has to be closed, even the img tag (you have a few of these lying around). Another thing is that you have to declare the namespace in XML documents so that is why the parser tells you have a mistake, take a look at your html tag. It should be something like this:
CODE
<html xmlns="http://www.w3.org/1999/xhtml">

Where xmlns is short for xml namespace.

Another thing I've noticed is that you don't terminate some of your javascript statements, which is a very bad habit and leads to problems down the road. So please terminate all you javascript statements properly.

Finally try validating your markup and css with W3C validation tools:
XHTML: http://validator.w3.org/
CSS: http://jigsaw.w3.org/css-validator/

Good luck!


Thanks for the advice. I have tried the validator, and gave me a bunch of parsing errors. I wasn't sure how to fix them, but what helped the site was linking two new CSS files for IE6 and IE7. At least it comes up now. I'm not sure why it doesn't align in IE6&7. Does IE have an issue with DIV tags?
User is offlineProfile CardPM

Go to the top of the page

Mike007
post 30 Jun, 2008 - 06:03 PM
Post #8


D.I.C Head

Group Icon
Joined: 30 Aug, 2007
Posts: 200



Dream Kudos: 75
My Contributions


I believe there is a difference in the way IE calculates padding as opposed to firefox. Here a quick google found this: http://www.webcredible.co.uk/user-friendly...-explorer.shtml
User is offlineProfile CardPM

Go to the top of the page

rodstol
post 1 Jul, 2008 - 09:51 AM
Post #9


New D.I.C Head

*
Joined: 3 Apr, 2008
Posts: 34

QUOTE(Mike007 @ 30 Jun, 2008 - 06:03 PM) *

I believe there is a difference in the way IE calculates padding as opposed to firefox. Here a quick google found this: http://www.webcredible.co.uk/user-friendly...-explorer.shtml



A quote from that page:
"Perhaps the most famous IE and CSS problem is Internet Explorer's misinterpretation of the CSS box model, which can cause page elements to be narrower in IE."

That is partially true in my case. I have dynamic boxes to the left and right to allow for any screen size, however in IE7. they are non-existent (very narrow), while the center column fills the screen, distorting the whole page.

Maybe I'm needing some help with the CSS file.

This post has been edited by rodstol: 1 Jul, 2008 - 09:54 AM
User is offlineProfile CardPM

Go to the top of the page

GorillaCheif
post 10 Jul, 2008 - 03:34 PM
Post #10


D.I.C Head

**
Joined: 24 Apr, 2006
Posts: 62


My Contributions


QUOTE(rodstol @ 1 Jul, 2008 - 09:51 AM) *

QUOTE(Mike007 @ 30 Jun, 2008 - 06:03 PM) *

I believe there is a difference in the way IE calculates padding as opposed to firefox. Here a quick google found this: http://www.webcredible.co.uk/user-friendly...-explorer.shtml



A quote from that page:
"Perhaps the most famous IE and CSS problem is Internet Explorer's misinterpretation of the CSS box model, which can cause page elements to be narrower in IE."

That is partially true in my case. I have dynamic boxes to the left and right to allow for any screen size, however in IE7. they are non-existent (very narrow), while the center column fills the screen, distorting the whole page.

Maybe I'm needing some help with the CSS file.


Send me your css file. I posted an email to you.
User is offlineProfile CardPM

Go to the top of the page

rodstol
post 17 Jul, 2008 - 12:05 PM
Post #11


New D.I.C Head

*
Joined: 3 Apr, 2008
Posts: 34

QUOTE(Mike007 @ 30 Jun, 2008 - 10:35 AM) *

First you are not really obeying the rules of XHTML that states that every tag has to be closed, even the img tag (you have a few of these lying around). Another thing is that you have to declare the namespace in XML documents so that is why the parser tells you have a mistake, take a look at your html tag. It should be something like this:
CODE
<html xmlns="http://www.w3.org/1999/xhtml">

Where xmlns is short for xml namespace.


I'm not sure why you aren't seeing the head tag. All my pages have that identical tag attached.

QUOTE

Finally try validating your markup and css with W3C validation tools:
XHTML: http://validator.w3.org/
CSS: http://jigsaw.w3.org/css-validator/


The validator can't fully validate the page because of...
QUOTE
"The detected DOCTYPE Declaration "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">" has been suppressed and the DOCTYPE for "XHTML 1.0 Transitional" inserted instead, but even if no errors are shown below the document will not be Valid until you update it to reflect this new DOCTYPE. "


What drives me nuts about the validator is it comes up with errors saying there are parsing errors, which there aren't and tags aren't ended...but they are. Such as..
CODE
<h2>designer</h2>
How is the h2 tag not closed?

so...

CODE
<!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>


I don't how what other declaration can be made.

Mike007, I didn't write the java script. I was thrown into maintaining this website after the guy we hired left. I wouldn't know a ended java statement if it bit me in the ....

Cheif, thanks for your input, it did help some.

This post has been edited by rodstol: 17 Jul, 2008 - 01:03 PM
User is offlineProfile CardPM

Go to the top of the page

rodstol
post 18 Jul, 2008 - 01:06 PM
Post #12


New D.I.C Head

*
Joined: 3 Apr, 2008
Posts: 34

This is the site in FF. Notice how everything is aligned with in the center container?
IPB Image

This is the site in IE6, the center container doesn't seem to be sticking to any particular widths.
IPB Image

I'm hoping someone will know what causes this in IE.
Could it be the positioning? Absolute/relative/inherited?
User is offlineProfile CardPM

Go to the top of the page

2 Pages V  1 2 >
Fast ReplyReply to this topicStart new topic
Time is now: 8/21/08 12:57PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month