Need help on a problem with IE7

User 355448 Photo


Ambassador
3,144 posts

I have a page that is almost complete. It works great in Firefox, Safari, IE8 and IE6 (yes IE 6 displays correctly). The problem is IE7.

The link to the page is: http://www.firstbaptistgoosecreek.com/pages/christmas_gatherings.php

What can I change to make IE7 display like the other browsers?
User 476017 Photo


Ambassador
375 posts

BillR wrote:
I have a page that is almost complete. It works great in Firefox, Safari, IE8 and IE6 (yes IE 6 displays correctly). The problem is IE7.

The link to the page is: http://www.firstbaptistgoosecreek.com/pages/christmas_gatherings.php

What can I change to make IE7 display like the other browsers?


Hi Bill
A bit crude I am no expert coder but several <br/> statements will push the text away from the image it looked OK in chrome but do not have IE 6 or 8 .
Worth a shot if you have not tried already.j
Dave Butler
Yorkshire
England

Old Rishworthians Rugby Union Football club http://www.orrufc.co.uk
Tuxedo Junction Yorkshire Function Band http://www.riley-tuxedojunction.co.uk
The Commons Guest House http://www.thecommons-guesthouse.co.uk
all created with Coffee Cup html editor
User 355448 Photo


Ambassador
3,144 posts

Dave,

That will work, but it throws off all other browsers. If I can't find a solution that will not affect all other browsers, I will do just that.
User 476017 Photo


Ambassador
375 posts

BillR wrote:
Dave,

That will work, but it throws off all other browsers. If I can't find a solution that will not affect all other browsers, I will do just that.

Hi Bill
Only other thought is to create a line of CSS code
eg
.extraspace {line-height: 48pt}
Then in html
insert <p class="extraspace">..</p>
This would create a space between lines of 48pt. You would only need to throw one line then revert back to normal line spacing. Just a thought might work. Worth a go perhaps (im only a novice at this CSS coding) .
But will it work on all browsers?????
Dave Butler
Yorkshire
England

Old Rishworthians Rugby Union Football club http://www.orrufc.co.uk
Tuxedo Junction Yorkshire Function Band http://www.riley-tuxedojunction.co.uk
The Commons Guest House http://www.thecommons-guesthouse.co.uk
all created with Coffee Cup html editor
User 355448 Photo


Ambassador
3,144 posts

The problem turned out to be a single line of in the CSS file setting the height of a div. All browsers I tested except IE7 allowed the div to expand to fit the content.

By removing the height: 150px; from the CSS, every browser I tested looked good.

Microsoft IE6 allowed the expansion, IE7 did NOT allow the expansion, and IE 8 allowed the expansion. Don't you just love the consistency Microsoft has? NOT :D
User 38401 Photo


Senior Advisor
10,951 posts

Correct me if I'm wrong here, but aren't there also tags you can use in the HTML itself to override settings for specific browser versions? or is that 'only' specific browsers and not versions themselves? I remember seeing something about this a while ago, but I haven't looked at a lot of that stuff in a long time till recently starting HTML stuff again so... don't shoot me :P

It basically had a setup that basically detected browser and then from there would choose if it used the code or not. Would bypass it if it wasn't viewed on the browser that was specified. I'm pretty sure this part is true, just not sure if it went as far as versions or not.

**EDIT**

I Just did a search to see what I could find on IE html hack and found this site so here's a link to a site that explains better what I'm talking about. Whether it works or not I don't know, but this is definitely what I remember from a while ago.
http://www.maratz.com/blog/archives/200 … -explorer/
User 629005 Photo


Ambassador
2,174 posts

Jo Ann,
Just getting buried into CSS myself... Yes, there are "some" hacks that can be applied, to fix version specific deficiencies. HOWEVER, I don't know how other folks here are, but I find myself wanting to take the stance of (If IE version 5.0 can't display it... then too bad for the person who is trying to surf the web on IE 5.0). I am trying to learn HTML/CSS and the likes, last thing I need, is a program that is non-compliant throwing a wrench in my gears. It's hard enough trying to get with the game, while playing by the rules.

BTW, as far as I know, we don't shoot people here :D Might poke fun at (but that's mostly at me), but never shoot.
Living the dream, stocking the cream :D
User 38401 Photo


Senior Advisor
10,951 posts

hehe Phil I hear that, actually my outlook is a little harsher than yours, if you don't use the most up to date version of IE and FF then too bad LOL. I do check the site on IE8 which is the only version I have available (don't know how to have more than one version installed on my computer so I haven't checked anything older than the newest IE and FF. I try to make sure it basically works in them both, but if something doesn't function exactly how I want it in IE then as long as it basically works I'm happy lol. I'm not interested much if it works in other browsers as those 2 are the 2 most used. Now if there is a specific browser that I 'should' be using for Mac then I probably would try installing that if it's Windows compatible, but other than that, I just don't have the patience and people just need to get up to date :P

I'm mostly a FF user for almost anything that I do so unless it will not work in FF I don't usually use another browser much at all. Mostly just checking the previews in the programs to make sure they work is about it.
User 355448 Photo


Ambassador
3,144 posts

Jo Ann,

Yes, you are correct about the hacks. The link you provided is a bit dated since it is talking about the future release of IE7. :)

I have used hacks in the past, and still have a hack I use to account for the way IE incorrectly handles the box model. But if possible, I prefer to not use a hack, especially when this specific problem was caused by an error on my part.

If you search for Multiple IE, there is a program that will install several different versions of IE. I don't currently use it, but it did work for me. Now I just let browsershots.org show me what the pages look like.

I am not positive, but I think most Mac users run Safari, and there is a Windows version.

I also look at the stats for my sites, and see that I have a base of visitors using older browsers. This means I will try to make things work for them.
User 629005 Photo


Ambassador
2,174 posts

BillR wrote:
I also look at the stats for my sites, and see that I have a base of visitors using older browsers. This means I will try to make things work for them.


I understand the "need" to design for the visitor base that is out there... But when one is trying to learn how to design, which is complicated enough when starting out, I really don't like being told that I "must" modify code to work on a browser that was never compliant to begin with. This is especially hard when there have been compliant browsers following W3C standards for years. I understand that there are SOME situations, which the user is prohibited from upgrading, but feel that we are the ones paying the price for MS's FAILURE to respect the industry, the standards AND the user's of the internet.

I know this is one of those discussions that will never fully end, nor will either side be fully satisfied with where we are in the progression of it. But this has been part of my 2 cents (gotta cut the spending due to current budget constraints), and I don't expect that everyone will agree.
Living the dream, stocking the cream :D

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.