[Web4lib] basic html question

Thomas Dowling tdowling at ohiolink.edu
Sun Jan 4 17:45:16 EST 2009


As others have pointed out, it probably isn't an HTML problem, but a
problem with how the JPEG image was created or referenced.  I do see two
HTML issues, though: don't use the "/>" tag closing unless you're doing
XHTML (and IMO don't do XHTML unless it has to coexist with other XML);
and your img element is missing the required alt attribute.

If the diagnostic tips posted on the list don't help, you should post
the URL to the page.

Thomas Dowling
tdowling at ohiolink.edu


On 01/02/2009 01:22 PM, Richard James wrote:
> one of those answers that will occur instantly to someone on this list:
> I recently edited one of my web pages to insert a graphical banner at the
> head of the page. For some reason, the header would not display in IE if it
> was a JPEG file, and would only display as a GIF. In Firefox et al, it
> displayed fine in any format. The code used was <h2 style="margin-bottom:
> 0"> <img src="/icons/SummitIcon.GIF" height="69" width="700" /> </h2>
> 
> It's a trivial point, but the res of the JPG was much better and makes the
> site look crisper. Any ideas?
> _______________________________________________
> Web4lib mailing list
> Web4lib at webjunction.org
> http://lists.webjunction.org/web4lib/
> 






More information about the Web4lib mailing list