This is being constructed in Jmol.js, I think. I think you are correct that the "px" is supposed to be there. Mostly though, one can just igore these warnings.
Angel Herraez wrote: >For some time I have been seing two errors on Firefox javascript console >when the applet is loaded, referring to width and height: >Error: Error reading value for property 'height'. Declaration rejected. >Line: 0 > >I never could find where it came from. Today, I came upon Opera error >console, which seems to throw some light: > >CSS - >HTML style attribute >Invalid value for property: height >Line 1: >background-color:yellow;width:300;height:300;text-align:center; > >If I use jmolApplet(200), then the error is on >background-color:yellow;width:200;height:200;text-align:center; > >I think that the applet is setting a CSS style with a wrong syntax. >I have looked into Jmol.js for this and found no place it is being generated. >so it may be the applet directly delivering that code. Maybe some developer >can check this out? > >I think what is needed is width:300px;height:300px; > > > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share your >opinions on IT & business topics through brief surveys -- and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >_______________________________________________ >Jmol-users mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/jmol-users > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

