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
----------------------------------------
From: "Angel Herráez" <[email protected]>
Sent: Saturday, May 14, 2011 8:08 AM
To: [email protected]
Subject: Re: [Jmol-users] MSIE 9
Otis,
I may be wrong, but I don't think that declaring the page as HTML vs. XHTML
should make
any difference as to what CSS is supported (html tags yes, but not css).
Transitional vs. strict
can make a (big) difference.
BTW, regarding the need to include a DOCTYPE, everybody seems to advice so. But
on the
other hand, as you will know, the recent HTML5 spec just says
simple, eh?
And I would expect IE9 to understand html5.
Another idea, Otis: do you know that there are special header tags to direct
MSIE to use
compatibility mode? Sort of telling it: behave as IE8. So you wouldn't need to
change that
much maybe.
------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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