HTML divs can go outside browser window?

后端 未结 2 1150
悲哀的现实
悲哀的现实 2020-12-17 02:44

I was playing around with ASP.NET Web Parts which has a \"drop down\" div. It\'s all the way to the right of the page. When I click to bring it up, it goes off the window.

相关标签:
2条回答
  • 2020-12-17 02:55

    Why not add a little extra to the margin there? Seems like the most easiest and cheapest way to save time.

    0 讨论(0)
  • 2020-12-17 03:11

    It is indeed the createPopup method that does the trick. It's a proprietary method in Internet Explorer.

    See http://msdn.microsoft.com/en-us/library/ms536392%28VS.85%29.aspx.

    0 讨论(0)
提交回复
热议问题