473,786 Members | 2,578 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Inconsistent results across browsers

My web page displays just fine under IE7, but under IE6 about 90% of
it is just plain missing. I get the top of the page, and the bottom
of the page... but not the middle. I have not tested with any other
browsers.

The page is at www.greengoldcapital.com

I use considerable amounts of CSS, and a lot of other things including
javascript, SSI, PHP, mySQL, and a partridge in a pear tree. I have a
third party application integrated in, as well as "tips & tricks" I'm
using from others, some of which are way over my head; especially the
menu.

I'm at a loss as to where to even start looking for the problem. I
was thinking maybe it was a css issue, yet I use css on the part that
shows up too. As far as I can tell, there's nothing especially
different about what shows up versus what doesn't show up... so I'm
stumped at this point.

Thank you for any good ideas.

Jun 1 '07 #1
17 2312
Dudely wrote:
My web page displays just fine under IE7, but under IE6 about 90% of
it is just plain missing. I get the top of the page, and the bottom
of the page... but not the middle. I have not tested with any other
browsers.

The page is at www.greengoldcapital.com
It is mostly blank in Firefox v2, too.
Correct all of those validation errors first.
<http://validator.w3.or g/check?verbose=1 &uri=http%3A%2F %2Fwww.greengol dcapital.com%2F OR%2Findex.php>

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jun 1 '07 #2
Dudely wrote:
My web page displays just fine under IE7, but under IE6 about 90% of
it is just plain missing.

www.greengoldcapital.com
In Seamonkey/Firefox, all the content is off the screen on the right.
Scroll over to see it. That should give some indication of one place to
look. As for IE6, the content shows up when JS is disabled. That should
give you another pointer.
I use considerable amounts of CSS, and a lot of other things including
javascript, SSI, PHP, mySQL, and a partridge in a pear tree.

I'm at a loss as to where to even start looking for the problem.
So am I. You need to simplify it if you expect to debug it, but the
mozilla DOM inspector may be helpful.

BTW, IE6 has lots of bugs with floats. See
http://www.positioniseverything.net/explorer.html

--
Berg
Jun 1 '07 #3
On Jun 1, 12:47 pm, Jim Moe <jmm-list.AXSPA...@s ohnen-moe.comwrote:
Dudelywrote:
My web page displays just fine under IE7, but under IE6 about 90% of
it is just plain missing. I get the top of the page, and the bottom
of the page... but not the middle. I have not tested with any other
browsers.
The page is atwww.greengold capital.com

It is mostly blank in Firefox v2, too.
Correct all of those validation errors first.
<http://validator.w3.or g/check?verbose=1 &uri=http%3A%2F %2Fwww.greengol ...>

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)

Thanks for the pointer. I had been using my browser's built-in
validator, but it missed a bunch of things that w3 picked up. On the
other hand, while I was editing my files, I accidentely deleted the
<htmltag, but w3 validator failed to notice, whereas my editor's
validator did notice. In any event, it now validates.

Once I got it all validated, I then went to test it under IE6.

Amazingly enough, it also displayed under IE6. Then I made a very
small change, that broke IE6 again.

The change I made, had to do with the following:

<!--[if gt IE 6]>

I was forced to put in the above statement, in order to make the page
validate.
The above statement commented out the menu, which uses a .htc file.

Because everything displays except the menu, under IE6 I decided to
change the 6 to a 5, to confirm it worked in IE6, which is when it
broke. So I put it back to 6 and of course it works again.

So, we seem to have narrowed the problem down.

The file wouldn't validate originally because it didn't like how the
<ULtags were nested, which is pretty much essential to how the menu
works. The menu, was written by someone else, and it's pretty far
over my head. Quite frankly, I don't understand how most of it works,
but it does under IE7, as does the rest of the website.

So, unless I re-do the menu in some totally different way, I'm at a
loss as to how to fix it. The menu took me hours upon hours upon
hours to get working under IE7, so I'm really reluctant to just throw
it away, unless there's something that looks & functions essentially
the same.

Good ideas?

Thank you

Jun 2 '07 #4
Dudely wrote:
>
The file wouldn't validate originally because it didn't like how the
<ULtags were nested, which is pretty much essential to how the menu
works. The menu, was written by someone else, and it's pretty far
over my head. Quite frankly, I don't understand how most of it works,
but it does under IE7, as does the rest of the website.
Getting a page to work in one browser, especially one that is not widely
used yet, is not much use.
The error message is very clear about what is wrong. But just to be nice...
Change this:
<ul>
<li>Bleh</li>
<ul>
<li>yadda</li>
</ul>
</ul>

to:
<ul>
<li>Bleh
<ul>
<li>yadda</li>
</ul>
</li>
</ul>
--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jun 2 '07 #5
JD
Dudely wrote:
My web page displays just fine under IE7, but under IE6 about 90% of
it is just plain missing. I get the top of the page, and the bottom
of the page... but not the middle. I have not tested with any other
browsers.

The page is at www.greengoldcapital.com

I use considerable amounts of CSS, and a lot of other things including
javascript, SSI, PHP, mySQL, and a partridge in a pear tree. I have a
third party application integrated in, as well as "tips & tricks" I'm
using from others, some of which are way over my head; especially the
menu.

I'm at a loss as to where to even start looking for the problem. I
was thinking maybe it was a css issue, yet I use css on the part that
shows up too. As far as I can tell, there's nothing especially
different about what shows up versus what doesn't show up... so I'm
stumped at this point.

Thank you for any good ideas.
Hello

For such a simple design, your code is mind-bogglingly complicated. The
best suggestion I can offer is that you start from scratch, only this
time you:

1. Keep things simple
2. Make sure you understand what you're putting in
3. Test your page in a variety of browsers /as you build it/
4. Keep things simple

And did I mention that you should keep things simple?

If starting from scratch is not possible for some reason, you could try
scrapping the menu, which will probably go a long way towards
simplifying the page and solving some problems. You mentioned that
you're unwilling to scrap the menu because it was hard to get working
but that's not a good reason to keep it. Your only consideration should
be: Do you really need a drop down menu?

JD
Jun 2 '07 #6
On Jun 1, 10:50 pm, Jim Moe <jmm-list.AXSPA...@s ohnen-moe.comwrote:
Dudelywrote:
The file wouldn't validate originally because it didn't like how the
<ULtags were nested, which is pretty much essential to how the menu
works. The menu, was written by someone else, and it's pretty far
over my head. Quite frankly, I don't understand how most of it works,
but it does under IE7, as does the rest of the website.

Getting a page to work in one browser, especially one that is not widely
used yet, is not much use.
The error message is very clear about what is wrong. But just to be nice...
Change this:
<ul>
<li>Bleh</li>
<ul>
<li>yadda</li>
</ul>
</ul>

to:
<ul>
<li>Bleh
<ul>
<li>yadda</li>
</ul>
</li>
</ul>

Now that you've said it, it seems obvious. But until you said it, I
didn't see it. Thank you. I've made those changes and it still works
in IE7, plus now it validates.

That led me to some more experimentation , and I think I have now
isolated it to the css declarations for the menu.

However, in the process of making the above mentioned changes, I
partially broke the background coloring for some of the top level menu
items. At this point I'm too tired to think straight, I'll come back
to it tommorrow.

In addition, prior to make those changes, IE6 was displaying the menu,
though none of the dropdown functionality worked. Now, the menu is
not displaying again on IE6, though the rest of the page is still
there, so I guess progress has been made.

Thanks again
Jun 2 '07 #7
On Jun 1, 1:54 pm, Bergamot <berga...@visi. comwrote:
Dudelywrote:
My web page displays just fine under IE7, but under IE6 about 90% of
it is just plain missing.
www.greengoldcapital.com

In Seamonkey/Firefox, all the content is off the screen on the right.
Scroll over to see it. That should give some indication of one place to
look. As for IE6, the content shows up when JS is disabled. That should
give you another pointer.
I use considerable amounts of CSS, and a lot of other things including
javascript, SSI, PHP, mySQL, and a partridge in a pear tree.
I'm at a loss as to where to even start looking for the problem.

So am I. You need to simplify it if you expect to debug it, but the
mozilla DOM inspector may be helpful.

BTW, IE6 has lots of bugs with floats. Seehttp://www.positionise verything.net/explorer.html

I turned off one of my floats, and the menu showed up on IE6, though
it still doesn't drop down properly. It doesn't seem to have had a
bad effect in IE7 as far as I can tell, but I need sleep.

I'll play some more with this tommorrow.

Thank you for the pointer.

Jun 2 '07 #8
rf

"JD" <us**@example.n etwrote in message
news:5c******** *****@mid.indiv idual.net...
Dudely wrote:
>The page is at www.greengoldcapital.com
For such a simple design, your code is mind-bogglingly complicated. The
best suggestion I can offer is that you start from scratch, only this time
you:
Agreed. Could be done with a tenth of the code.
>
1. Keep things simple
2. Make sure you understand what you're putting in
2.5 and only put it in if you are *very very sure* you need it.
3. Test your page in a variety of browsers /as you build it/
3.5 but keep the code to the specifications. Do not use browser specific
code.
4. Keep things simple
Dudely, you are approaching this from the wrong angle. You appear to be
jumping through all sorts of hoops to make sure it works in various flavours
of IE, even to the point of sniffing browsers and sniffing different IE
versions.

Don't.

Code it to the specifications with the absolute minimum of code. No
javascript at all and an absolute minimum of CSS, just to get the content
and the layout correct. Then gradually add the eye candy stuff (still not
using javascript), testing in all the browsers you have to hand after each
step.

Only then may you put in some javascript to *add*[1] to the page if you
wish, keeping in mind that a significant minority do not have javascript.

[1] FWIW your page looks *MUCH* better in FF with javascript turned off :-)

--
Richard.


Jun 2 '07 #9

rf wrote:
"JD" <us**@example.n etwrote in message
news:5c******** *****@mid.indiv idual.net...
Dudely wrote:
The page is at www.greengoldcapital.com
For such a simple design, your code is mind-bogglingly complicated. The
best suggestion I can offer is that you start from scratch, only this time
you:

Agreed. Could be done with a tenth of the code.

1. Keep things simple
2. Make sure you understand what you're putting in

2.5 and only put it in if you are *very very sure* you need it.
Yes, I could not agree more, the amount of large sites I have noticed
with things that arn't needed is amaizing.
3. Test your page in a variety of browsers /as you build it/

3.5 but keep the code to the specifications. Do not use browser specific
code.
Yeah and that goes for you people developing online applications as
well.
4. Keep things simple

Dudely, you are approaching this from the wrong angle. You appear to be
jumping through all sorts of hoops to make sure it works in various flavours
of IE, even to the point of sniffing browsers and sniffing different IE
versions.

Don't.

Code it to the specifications with the absolute minimum of code. No
javascript at all and an absolute minimum of CSS, just to get the content
and the layout correct. Then gradually add the eye candy stuff (still not
using javascript), testing in all the browsers you have to hand after each
step.

Only then may you put in some javascript to *add*[1] to the page if you
wish, keeping in mind that a significant minority do not have javascript.

[1] FWIW your page looks *MUCH* better in FF with javascript turned off :-)
I agree with all this and also remember to use a container div to make
sure that things line up correctly in a larger number of browsers, I
have ran into difficulties before when not useing some kind of
wrapper around the entire page.
--
Regards Chad. http://freewebdesign.awardspace.biz

Jun 3 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
8729
by: Larry Woods | last post by:
Look at this code: Dim i As Integer = 0 Dim j As Integer = 5 If (j / i = 7) Or i = 0 Then MessageBox.Show("In If") Else MessageBox.Show("In Else") End If
3
1941
by: John C Kirk | last post by:
I've come across an odd situation, where doing a floating point division produces different results for the same numbers. Basically, there are 4 ways to run this application: A) Debug build, inside the IDE B) Debug build, outside the IDE (e.g. launched from Explorer) C) Release build, inside the IDE D) Release build, outside the IDE Using methods A-C produces one result, and using method D produces a
6
2490
by: Doug Mazzacua | last post by:
I noticed that that <ul> lists display differently with <br> between <li>s in IE and Mozilla. Does anyone know of a reference that catalogs all of the known types of differences in display between browsers? Or do you all just do multiple tests of all your pages? Thanks in advance for any advice. _________________________________________
10
1492
by: Robert Baer | last post by:
<SWM.HTM listing; does not work; positioning wrong (below main GIF)> <!-- IE adds a horizontal 4-icon strip near the upper left corner when that area is visited (WTF?) --> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Stripper wells and production</title> </head> <SCRIPT LANGUAGE="JavaScript"> <!--
1
2344
by: Peter Knörrich | last post by:
Hello, I've found another inconsistency, and looking through the list archives I can find mentions of funky stuff like print float('inf') giving Infanity
20
2623
by: Francine.Neary | last post by:
I am learning C, having fun with strings & pointers at the moment! The following program is my solution to an exercise to take an input, strip the first word, and output the rest. It works fine when you give it 2 or more words, but when there's only 1 word the results vary depending on whether it's on Windows or Linux: under MSVC it displays no output (as it should); under gcc/Linux it instead gives "Segmentation fault". Any ideas...
1
4279
by: catudalg | last post by:
Configuration: Windows 2000 sp3 MS Access 2000 (9.0.4402 SR-1) Visual Foxpro 9.0 detached tables MS VFP Driver 6.01.6830.01 06/19/2003 For example, a simple query like: select * from ddwg1 union all select * from ddwg2
6
1504
by: Gary Wardell | last post by:
Hi, I wanted to check if this was correct be behavior before reporting it as a bug in FireFox. Given this function: function test() { var re;
1
3286
by: rnhuch | last post by:
My platform is SQL Server 2005. One of the tables of my db has 28589928 rows and one of the fields is real. When I backup and restore this database to another server (using the SQL Server internal tool) and do a SELECT SUM(<<field name>>) from <<table name>>, the results from these two servers are slightly different. I don't understand the reason because these databases are static and they should be exactly the same. Then when I tried...
0
9647
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9496
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10164
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10110
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9961
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8989
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5397
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5534
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3669
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.