simpli Posted June 29, 2009 Share Posted June 29, 2009 Hi, I am having problems with the border container when I am trying to set its width like that (width=100% height=100%) instead of (width=1200px height=1200px). I am using dojo on firefox. I am also using declarative creation for the widgets. I have a css file in which I specify the following: body, html { width:100%; height:100%; margin:0; padding:0 } #borderContainer { width:100%; height:100% } When I access the page, I see the border container and its content for half a second and then it disappears. When I look with firebug, I see <div id="dijit_layout_BorderContainer_0" class="dijitContainer dijitBorderContainer" livesizing="true" style="padding: 0px; width: 100%; height: 100%;" design="headline" dojotype="dijit.layout.BorderContainer" widgetid="dijit_layout_BorderContainer_0"> </div> <div style="display: none;"/> Can someone help me fix this? Thanks, JR Link to comment https://forums.phpfreaks.com/topic/164112-dojo-bordercontainer/ Share on other sites More sharing options...
Twister1004 Posted June 29, 2009 Share Posted June 29, 2009 This isn't a javascript issue FYI. However, I would say to put a z-index. or just do: margin-left:auto; margin-right:auto; Link to comment https://forums.phpfreaks.com/topic/164112-dojo-bordercontainer/#findComment-865739 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.