Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Internet Explorer 7 Problem, Works fine in Firefox! (Shocker)
nightfox
post Feb 11 2007, 04:19 PM
Post #1


NiGHTFoX - Hiding in the dark
Group Icon

Group: Members
Posts: 680
Joined: 3-April 05
Member No.: 3,584



Hey,

I'm helping my mom with one of her web projects for class and I've noticed a pretty big problem (no thanks to IE7) that cost her a few points. It won't load an image of an email icon, however, Firefox will load and display it properly.

Here's the line for the image:
CODE
<img src="nationalparks/images/email.gif" width="99" height="100" border="0" alt="Email" />


Also, IE7 complains about some ActiveX content, but this is just a basic page and NO JavaScript, NO Java applets, NO ActiveX of any kind!

I've never seen anything as crazy as this! Wow... IE really sucks... anyone had a similar problem?

[N]F
Go to the top of the page
 
+Quote Post
FirefoxRocks
post Feb 13 2007, 10:56 PM
Post #2


Super Member
Group Icon

Group: [HOSTED]
Posts: 752
Joined: 12-July 06
From: Ontario, Canada
Member No.: 14,464



Can you give a few more lines of code? Or perhaps direct us to your page? That would be helpful.
Also, try this:
CODE
<img src="nationalparks/images/email.gif" style="width:99px;height:100px;border:0px" alt="Email" />


That may help, I don't know if it is the image problem causing the scripting error. Try emptying your cache.
Go to the top of the page
 
+Quote Post
mastercomputers
post Feb 14 2007, 01:36 AM
Post #3


PESTICIDAL MANIAC
Group Icon

Group: Members
Posts: 626
Joined: 1-September 04
From: Auckland, New Zealand
Member No.: 27



Hey nightfox,

We really do need to see more of the HTML code, as I see nothing wrong with this line at all, except it uses deprecated attributes and seems to be following XHTML. So what made this the line in question?

Here's how I would write this line though:

CODE
<img src="nationalparks/images/email.gif" width="99" height="100" alt="Email" style="border:0" />


The width and height attributes are valid for the img element so I feel using styling on this is unnecessary, however the border attribute has been removed and must be used inside styling to follow strict rules.

Cheers,

MC
Go to the top of the page
 
+Quote Post
livingston
post Feb 14 2007, 09:46 AM
Post #4


Advanced Member
Group Icon

Group: Members
Posts: 149
Joined: 14-February 07
From: Tuticorin, India
Member No.: 20,415
myCENTs:0.55



Hi nightfox, I've tried the above code in IE7. There was no error or warning. even I've my security settings high.

I think that some other code in the page might have created the problem.

This post has been edited by livingston: Feb 14 2007, 09:49 AM
Go to the top of the page
 
+Quote Post
iGuest
post Jan 9 2008, 05:35 PM
Post #5


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 0
Joined: 1-November 07
Member No.: 25,869



Page can not be displayed in ie7 but can be in mozilla firefox.
Internet Explorer 7 Problem

It suddenly happened that ie7 was unable to load pages. Tensed with the problem I installed firefox1 and tried, page opened and in firefox 2, it was even better. IE7 is of no use to me now.

But I really miss the easy saving of webpages and support of DAP of ie7 in firefox.

-Hemsharma Acharya
Go to the top of the page
 
+Quote Post
iGuest
post Mar 26 2008, 11:56 AM
Post #6


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 0
Joined: 1-November 07
Member No.: 25,869



Replying to Feedbacker

If you have named the page "PageName.Htm" - I would try renaming it as PageName.Html...

I found in IE7 - this makes a difference!
Go to the top of the page
 
+Quote Post
Im1HansonPunk
post Apr 4 2008, 08:05 AM
Post #7


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 7
Joined: 4-April 08
Member No.: 29,615



QUOTE(FeedBacker @ Mar 26 2008, 07:56 AM) *
<a href=http://www.astahost.com/index.php?showtopic=14912&view=findpost&p=116512>Replying to Feedbacker</a>

If you have named the page "PageName.Htm" - I would try renaming it as PageName.Html...

I found in IE7 - this makes a difference!


I was not aware of this issue! Thank you for bringing this up. I will have to rename my pages.

To the original poster:
Try using Dreamweaver as your editor. It has a feature that allows you to check which browsers are compatible with your code.
Go to the top of the page
 
+Quote Post
Lydubs
post Jul 13 2008, 12:51 AM
Post #8


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 25
Joined: 13-December 06
Member No.: 18,262



Nightfox,

I definitely find Firefox to be a lot better. I was told by a Geek Squad member that Firefox is a lot safer and has less popups that Internet Explorer. I haven't used Internet Explorer much for anything since I started using Firefox a few years ago. Keep it!
Go to the top of the page
 
+Quote Post
Atomic0
post Jul 14 2008, 04:46 AM
Post #9


Premium Member
Group Icon

Group: [HOSTED]
Posts: 209
Joined: 18-March 07
Member No.: 20,937
myCENTs:61.81



I don't really see any problem with the single line of code that you posted. The problems with displaying the image may be caused by coding errors in the main HTML page, causing the single HTML line containing the image element to not be rendered or parsed correctly by the Internet Explorer 7. You should also double check whether parts of the code are compatible with the Internet Explorer, since different browsers support different code elements.

On a side note, it may not be that the image element is not loading, but hidden or positioned off the screen (if CSS is used). Internet Explorer and Firefox have different implementations of the CSS specification which may have caused the element not to appear in the correct position.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Help! Problem With My Flash-Drive(2)
  2. Ip Problem(8)
  3. MSN Help(5)
  4. ATI Video Card Problem! Need Help(5)
  5. Transparent Iframe Scrollbars ( For Internet Explorer )(5)
  6. Problem Accessing My Cpanel(9)
  7. Einstein Quiz(30)
  8. Server Behind Router(7)
  9. Blue Screen - irql_not_less_or_equal(35)
  10. Firefox 2(5)
  11. Frustrating Problem With XP On Laptop(20)
  12. Problem With Drag And Drop (or So It Seems).(12)
  13. Internet Calls: Pc To Phone(14)
  14. Firefox Plugins For Web Developers(18)
  15. What Would It Be Without The Internet!(36)
  1. Explorer Does Not Run(9)
  2. Css Background Not Showing Upin Ie(6)
  3. Problem With Div's In Ie6 And Lower(4)
  4. Internet Connection In Linux Through Mobile(4)
  5. Help Me To Download Torrent Via Proxy Internet(3)
  6. Pc Problem(8)
  7. Make Firefox Look Like Google Chrome(2)
  8. Firefox Dream Packages - Condense(0)
  9. Graphics Driver Out...(2)
  10. Internet Connection Hack(6)
  11. Problem Setting Up Wireless Internet & Wireless Nintendo Wii(4)
  12. System Is Crashed - Hardware Problem(3)
  13. Computer Freezing Problem(1)


 



- Lo-Fi Version Time is now: 5th December 2008 - 12:32 AM