Thanks for persuing this, i'm trying to understand, too.


designer wrote:
. . . before I go back to html 2.0!

But seriously, in my continuing quest to understand/get a feeling for mime types etc, I've made two files now : thearea.html and thearea.xhtml. What I did was to make the xhtml first, validate it etc, then save as html as well. So the two files are identical, apart from the extension.

The first file,

http://www.rhh.myzen.co.uk/rhh/thearea/thearea.xhtml

in this one, in mozilla it shows fine, BUT in IE6 i get the "invitation to download" the file. ;) (with background, too, in mozilla)

is served as application/xhtml+xml, whereas the second,

http://www.rhh.myzen.co.uk/rhh/thearea/thearea.html

in mozilla and IE6 i get it fine, and the background, also, in both browsers.

is served as text/html. Which is what I wanted. So, apart from the extension, the files are identical. However, the css behaves differently - the body background colour is not showing in the xhtml version, but the background image shows OK . . .

The CSS is simple:

body{
    font : 14px/20px Verdana, Arial, sans-serif;
    color : #333;
    background: #e3ffe3 url(../rhhframes/415e3ebkgrnd.jpg) repeat-x fixed left 
top;
}

Is this to do with relative and absolute links again, or what?

AND, is there a 'list' of things which happen in 'real' xhtml but not in text/html? I've tried to search for the answer, but I just get swamped with the usual differences (backslashes and so on).

cheers
Donna
******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************

Reply via email to