{"issue":{"state":"closed","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/53c7ce5a839da0466f4e64877ca1bd44?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"53c7ce5a839da0466f4e64877ca1bd44","url":"https://api.github.com/users/emnullfuenf","login":"emnullfuenf","id":909774},"assignee":null,"updated_at":"2011-11-15T14:04:58Z","labels":[],"comments":2,"closed_at":"2011-11-15T14:04:58Z","url":"https://api.github.com/repos/x3dom/x3dom/issues/49","body":"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.\r\n\r\nAs soon as i uncomment x3dom.css the x3d window is 100% wide and high.\r\n\r\nWith 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.","html_url":"https://github.com/x3dom/x3dom/issues/49","title":"Width / height set in percent is not working","number":49,"id":2173633,"created_at":"2011-11-08T12:15:55Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/d8ad99f9e44bd7be51d1d32f5f9283fb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"d8ad99f9e44bd7be51d1d32f5f9283fb","url":"https://api.github.com/users/aha","login":"aha","id":371635},"updated_at":"2011-11-15T14:04:58Z","url":"https://api.github.com/repos/x3dom/x3dom/issues/comments/2744936","body":"You need to float your outer container as well or, as you did, not float the X3D element at all. So either overrwite the rule as you did, or put an outer div element around the X3D element which also floats and is positioned where you want it.","id":2744936,"created_at":"2011-11-15T14:04:58Z"}}