|
|
|
|
![]() ![]() |
Feb 11 2007, 04:19 PM
Post
#1
|
|
|
NiGHTFoX - Hiding in the dark 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 |
|
|
|
Feb 13 2007, 10:56 PM
Post
#2
|
|
|
Super Member 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. |
|
|
|
Feb 14 2007, 01:36 AM
Post
#3
|
|
|
PESTICIDAL MANIAC 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 |
|
|
|
Feb 14 2007, 09:46 AM
Post
#4
|
|
|
Advanced Member 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 |
|
|
|
Jan 9 2008, 05:35 PM
Post
#5
|
|
|
Newbie [ Level 1 ] 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 |
|
|
|
Mar 26 2008, 11:56 AM
Post
#6
|
|
|
Newbie [ Level 1 ] 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! |
|
|
|
Apr 4 2008, 08:05 AM
Post
#7
|
|
|
Newbie [ Level 1 ] Group: Members Posts: 7 Joined: 4-April 08 Member No.: 29,615 |
<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. |
|
|
|
Jul 13 2008, 12:51 AM
Post
#8
|
|
|
Newbie [ Level 2 ] 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! |
|
|
|
Jul 14 2008, 04:46 AM
Post
#9
|
|
|
Premium Member 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. |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 5th December 2008 - 12:32 AM |