Html

Reply

Join Date: Apr 2007
Posts: 10
Reputation: SAMSEIED is an unknown quantity at this point 
Solved Threads: 0
SAMSEIED SAMSEIED is offline Offline
Newbie Poster

Html

 
0
  #1
Feb 3rd, 2008
Hi everyone:

I designed a simple one long page website with one image. I tested this website with Fire Fox and I could see the image. But when I tested the same website with Internet Explorer, It did not show the image except with a little square with red mark. I have no clue why? your help is greatly appreciated.

Sam
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 195
Reputation: HI2Japan is an unknown quantity at this point 
Solved Threads: 21
HI2Japan HI2Japan is offline Offline
Junior Poster

Re: Html

 
0
  #2
Feb 4th, 2008
More information would help. A link to the page or your code.
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 10
Reputation: SAMSEIED is an unknown quantity at this point 
Solved Threads: 0
SAMSEIED SAMSEIED is offline Offline
Newbie Poster

Re: Html

 
0
  #3
Feb 4th, 2008
Originally Posted by HI2Japan View Post
More information would help. A link to the page or your code.

Hi:

Thanks for your reply. Here is the code: <P ALIGN=CENTER><img src="house.jpg"></P>

this image is in the same HTML file. I believe the code is correct, if it is not correct, this code would not work in Fire fox browser. I have no clue why this image will not appear in Internet explorer.

thanks

Sam
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 195
Reputation: HI2Japan is an unknown quantity at this point 
Solved Threads: 21
HI2Japan HI2Japan is offline Offline
Junior Poster

Re: Html

 
0
  #4
Feb 4th, 2008
Can you provide the url for the page?
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 5
Reputation: webopolis is an unknown quantity at this point 
Solved Threads: 0
webopolis webopolis is offline Offline
Newbie Poster

Re: Html

 
0
  #5
Feb 4th, 2008
It might be that the jpg was saved as CMYK instead of RGB. Check that, and change it, if needed.
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 10
Reputation: SAMSEIED is an unknown quantity at this point 
Solved Threads: 0
SAMSEIED SAMSEIED is offline Offline
Newbie Poster

Re: Html

 
0
  #6
Feb 4th, 2008
Originally Posted by webopolis View Post
It might be that the jpg was saved as CMYK instead of RGB. Check that, and change it, if needed.
Hi:

The image is saved as jpg and the website can be viewed on firefox, but not on internent explorer.

Sam
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 5
Reputation: webopolis is an unknown quantity at this point 
Solved Threads: 0
webopolis webopolis is offline Offline
Newbie Poster

Re: Html

 
0
  #7
Feb 4th, 2008
Yes. I understand it's a JPG. However, if the color model it was saved to is CMYK (Cyan, Magenta, Yellow, Black) instead of RGB (Red, Green, Blue) then it may not display properly in some browsers. CMYK is primarily used for printing purposes.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,273
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 494
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: Html

 
0
  #8
Feb 4th, 2008
Originally Posted by SAMSEIED View Post
Hi:

The image is saved as jpg and the website can be viewed on firefox, but not on internent explorer.

Sam
It will defenetly help if you post your code or we can only do reading from the magic ball this way
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 55
Reputation: Suetan is an unknown quantity at this point 
Solved Threads: 4
Suetan Suetan is offline Offline
Junior Poster in Training

Re: Html

 
0
  #9
Feb 6th, 2008
You might want to try this:

replace this
  1. <P ALIGN=CENTER><img src="house.jpg"></P>

with this
  1. <br /><img src="http://{URL_OF_YOUR_PAGE}/house.jpg" align="center" alt=""><br />

Since XHTML is the W3C standard now, you might want to convert it to XHTML. It's not hard to do at all. If you need to learn XHTML, go to http://www.w3schools.com and you can learn it for free. I hope that this helped you out.

If you used Photoshop, just go and open your *.psd file, and resave it in RBG format, and overwrite the jpeg. Reupload it to your server, and you shouldn't have much of a problem.

Good luck man.
Last edited by Suetan; Feb 6th, 2008 at 2:04 am. Reason: Added color type comments and changed my HTML code type
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 195
Reputation: HI2Japan is an unknown quantity at this point 
Solved Threads: 21
HI2Japan HI2Japan is offline Offline
Junior Poster

Re: Html

 
0
  #10
Feb 6th, 2008
Umm I could be wrong, but for xhtml wouldn't he need to put <img src="http:// . . ." align="center" alt=""/>
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 2824 | Replies: 24
Thread Tools Search this Thread



Tag cloud for HTML and CSS
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC