Vertical spacing around CDF file varies by brower and by operating system
-
This is a followup to my message
https://www.ads-software.com/support/topic/bottom-of-cdf-picture-cut-off-in-chrome?replies=2The problem is that when you use the code supplied by Mathematica to put a CDF file into a post, the bottom margin is shorter in Chrome than it is in IE8 or in Firefox (on an XP computer). Not only that but on my laptop (Vista) the bottom margin is shorter in Firefox as well! I can’t imagine how this happens.
This means I have to put in extra space to account for this behavior. By the way, there is also extra space at the top in any browser that I can’t get rid of.
You can see this by looking at my post
https://www.abstractmath.org/Word%20Press/?p=2711
The third diagram (below “Tangents can hug”) shows this behavior. The bottom is cut off in Chrome and also in Firefox on my Vista computer.
This is the Java code that posts the diagram:
<script type=”text/javascript” src=”https://www.wolfram.com/cdf-player/plugin/v2.1/cdfplugin.js”></script><script type=”text/javascript”>// < ![CDATA[
// < ![CDATA[
var cdf = new cdfplugin(); cdf.embed(‘https://www.abstractmath.org/Mathematica/Hug.cdf’, 600, 520); cdf.setDefaultContent(‘https://www.abstractmath.org/Mathematica/Hug.jpg’);
// ]]></script>I am cross posting this in the mathematica forum.
- The topic ‘Vertical spacing around CDF file varies by brower and by operating system’ is closed to new replies.