Hi Bob

So the "latest development version" on SF, 13.0.RC5, is ancient ?  5 days 
old  Ha! 
Supersonic Jmol  ;-)


> Everything worked there except one change -- the setting of height to
> "auto" instead of "95%". It turns out that MSIE with no DOCTYPE tag
> requires height:95%. For whatever reason.

I really think we should not be relying on no doctype if we are heading 
towards HTML5 solutions. But on the other hand the page must not break 
whatever the doctype is. I think we can do it (see below).

> The problem arises when the info panel is displayed and there is
> overflow. 

Only if the overflow is because of a table -- with long text it was working 
fine, 
I'd swear (I am stopping to trust my tests ;-) )

> In addition, without the <table> wrapper, MSIE without DOCTYPE
> miscalculates the height, and even with height:95% the info panel is
> slightly larger than it is supposed to be.

That's because 20px + 95% is not equal to 100%.
I have sent offlist my solution: 7% + 93%

 
> But <table> is not an option, I understand that.

I'm much happier without it. Apart from being ugly codewise, I'd expect it will 
break more than one pages. 

> 2) We (Gusts? Angel? - I give up) find a fix for the height:auto
> problem in MSIE with no DOCTYPE tag. Maybe I'm missing something in
> the CSS. If you can spot it, great. 

I just sent it off-list, and it seems to work irrespective of the doctype in 
IE9 
and its IE7-faking mode

> 3) We set height:auto and make if very clear that if you are going to
> use the info panel at all, you will need to have a DOCTYPE, or your
> page will be broken on MSIE.

I quite preferred the auto, but 7% + 93% is good enough and copes with all 
browsers. After all, you cannot trust whatever the current font-size is to fit 
nicely in 20px always. This does not look bad.


Finally, please have a look at resizing code; when you have opened the info 
pane and resize, it resizes well but then the applet proper does not resize 
any longer. I fixed this yesterday in my local copy (which I sent to you).
This seems not to be fixed yet in your version some hours ago.



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to