width=100% is important specifically if you want the user to be able to resize the window.


On Fri, Sep 27, 2013 at 2:07 PM, Angel HerrŠez <angel.herraez@uah.es> wrote:
Hello Pino

> width=100% that comes out when JSmol appears and that refers to div is
> compulsory?

JSmol will have the proper size that you define in your "Info" variable. That
may be 300 px for example

The canvas may be 100%, but it is inside other tags that have the size you
define.

If you have a webpage we can look at, I can tell more.



------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users



--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900