Forum Moderators: open
i'm going through quite the series of difficulties trying to figure out why an img tag declared in my xhtml is not showing in safari / knoqueror. elsewhere, someone posted that my server is giving the wrong content type. yet at w3.org it validates as xhtml. i am stumped to why this is happening and if this is the source of my errors.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Movable Type 3.2" />
<link rel="alternate" type="application/atom+xml" title="Atom" href="http://www.mysite.com/atom.xml" />
any glaring errors to be seen? thank you!
-bessington
someone posted that my server is giving the wrong content type
Was the person referring to the content type for the image or the page itself? There is a fad for serving XHTML with an
application/xhtml+xml mime type, but it is not recommended - best stick to text/html as you almost certainly are already using. This may be a CSS issue - I believe that the
text-indent method is supposed to work in Safari and Konqueror (BTW which versions are you testing with?) so there may be a conflict within another rule.