APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

how to make height 100% work in EJSS. currently I need to key in 600 to get a big view post and replies

Return to the how to make height 100% work in EJSS. currently I need to key in 600 to get a big view thread
Login to post to this thread

how to make height 100% work in EJSS
lookang Avatar
lookang
245 Posts

Does anyone knows how to make the height 100% like what the width currently is doing great with?

I speculate the existing ejss CSS style already has a smaller height thus using 100% will only result in a smaller usage of the height.

Anyone can make a template that uses all the height in ejss.

Thank you.


OSP@SG blog
OSP@SG Digital Library

Replies to how to make height 100% work in EJSS

Re: how to make height 100% work in EJSS -
Wolfgang
192 Posts

% does not work very well for height and I would not use it.  I have also stopped using % for width because it only works well for browsers (not for ePub) and it can also fail to give good results if the simulation is running is running in a modal div or in an iFrame.  I recommend fixed pixel width and height that are chosen to match the display device.



OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book