Hi Again Angel,
Yikes! While you are correct about the simple HTML5 doctype declaration, FF
and MSIE did not like it. MSIE would not load the page (i.e. same applet
problem), and FF had minor formatting issues with the page that I
originally constructed under XHTML rules. I guess this latter point does
not surprise me.
You did solve my problem, however! This is a magic tag:
meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"
I'm leaving tag marks off in this email because I was having some problems
exchanging emails with tags in the email text. With the above tag, I'm back
to using:
!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
MSIE 9 appears to be the only common browser that does not agree with my
syntax checker on this doctype. With the emulate meta tag that you
suggested, I can ignore MSIE 9 issues. I can never remember how to type
emoticons, but place a very big smile here.
Otis
--
Otis Rothenberger
Department of Chemistry
Illinois State University
Normal, IL 61790-4160
http://chemagic.org
----------------------------------------
From: "Otis Rothenberger" <[email protected]>
Sent: Saturday, May 14, 2011 10:14 AM
To: [email protected]
Subject: Re: [Jmol-users] MSIE 9
Hi Angel,
You may be correct on the style sheet. I lost in-line styles in div tags. I
didn't believe this at first myself, but I made pages that differed only in
the doctype declaration, and that change alone lost text-align:center and
width:###px styles in the div tag. I did step back to HTML 4, and that was
a mistake. I guess the surprising thing to me is that browsers are not only
starting to enforce rules. They are not giving advanced capability if you
do not ask for it with a doctype declaration.
I'll make the change to the simple doctype that you suggest. That would
probably solve the div tag style issue.
I did not know about MSIE compatibility tag. I have to check into that. It
would be a wonderful way the tell MSIE to go stand in the corner until I
have time to deal with you - back to shoe lace washing again!
Thanks for the suggestions, Otis
--
Otis Rothenberger
Department of Chemistry
Illinois State University
Normal, IL 61790-4160
http://chemagic.org
----------------------------------------
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users