x3dom/x3dom — Issue #49: Width / height set in percent is not working
Author: emnullfuenf
Created: 2011-11-08 12:15:55+00:00
State: open

When i set the width and height of the x3d node to 100% it does not work. In the debugging console i see that 100% was replaced by 100px. This happens when the x3d node parent is the body node and x3dom.css is loaded.

As soon as i uncomment x3dom.css the x3d window is 100% wide and high.

With x3dom.css and the x3d node inside a 100% wide and high div the height of the x3dom window is set to 100% but not the width.