Hi Steven

> You're right; percent does work in FF even in Ohio; especially when 
> an extra surrounding div block is removed.  

Glad you solved your problem.

> By the way; your auto 
> resize template page is great.  The code was very useful for 
> debugging my problem.  

Thanks. It's always great to have feedback.

> I'm interested in trying to incorporate auto 
> resize into my pages, but I'm wondering about the requirement that 
> the applet size be set to 100% (and I use less than this); I 
> experimented setting it to other % values and resizing seemed to 
> work; but I only tried IE and FF.  Do you know that using smaller 
> percentages does not work in some browsers?

I think you can use any. I use 100% in the template because the desired size is 
set 
in the envelope div.
Recently I did use 90% height in a page where I wanted a small legend below the 
applet.
I think you are safe using any percent for the applet, but for perfect fit all 
the other 
elements should be sized in percent too. Be careful with the size of other divs.

The only browser-specific behaviours I observed were those needing to set CSS 
height:100% for BOTH body and html elements.

Off-topic: thanks to those who are buying my book (yes, I see sales in 
near-real 
time :) ) --hope it comes out useful--. Please don't hesitate to send 
suggestions or 
critizisms.



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to