Hi Angel and Bob, it seems working just with a simple addition to CSS #jmolApplet0_appletinfotablediv { float: left; } that you Angel suggested me. Thanks a lot. I made some trials with firebug on firefox and i saw that changing the width there it did not affect the floating but the applet itself. Thanks a lot Pino
>----Messaggio originale---- >Da: angel.herr...@uah.es >Data: 28/09/2013 10.45 >A: "pino.stricc...@libero.it"<pino.stricc...@libero.it>, <jmol-users@lists. sourceforge.net> >Ogg: Re: [Jmol-users] width 100% > >Ciao Pino > >In your page >http://pinostriccoli.altervista.org/?p=6434 >you have: > ><p><script> >jmolApplet0 = Jmol.getApplet("jmolApplet0", Info) ></script>Per impostazione predefinita, il tuo foglio di stile verrà caricato >dopo<br /> > >(#1) >If you can wrap that in a DIV, you just need to apply float style to that >envelope div, like: > ><div style="float:left;"> > <script> > jmolApplet0 = Jmol.getApplet("jmolApplet0", Info) > </script> ></div> ><p>Per impostazione predefinita, il tuo foglio di stile verrà caricato dopo<br >/> > >(#2) >Otherwise, you could add a rule to the outer div of JSmol object itself: > ><style> >#jmolApplet0_appletinfotablediv { float:left; } ></style> > >(#3) >Or maybe (not tested) > ><p><script> >Jmol.setAppletCss(null, "style = float:left;"); >Jmol.getApplet("jmolApplet0", Info) ></script>Per impostazione predefinita, il tuo foglio di stile verrà caricato >dopo<br /> > > > > > >------------------------------------------------------------------------------ >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 > ------------------------------------------------------------------------------ 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