Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
mmount  
#1 Posted : Tuesday, December 4, 2012 5:15:18 AM(UTC)
mmount

Rank: Advanced Member

Groups: Member
Joined: 11/30/2012(UTC)
Posts: 61

Thanks: 6 times
Hi,

I'm planning to show the uploader in a popup window that can be resized. So, I want to make sure that the uploader resizes with the window. I have the following code:

Code:
<body style="height: 100%; margin: 0px">
  <form id="form1" runat="server" style="height: 100%">
    <div style="height: 100%">
      <cc1:Uploader ID="Uploader1" runat="server" height="100%" width="100%" BorderStyle="None">
      </cc1:Uploader>
      <cc1:AmazonS3Extender runat="server" ID="AmazonS3Extender1" TargetControlID="Uploader1">
      </cc1:AmazonS3Extender>
    </div>
  </form>
</body>


But it still shows a scrollbar. If I change the height of the uploader to 99% the scrollbar goes away but there is a little chunk of blank space at the bottom of the window. Is there some CSS padding or margin property I need to counteract somewhere?

Thanks,

Mike
mmount  
#2 Posted : Tuesday, December 4, 2012 7:31:31 AM(UTC)
mmount

Rank: Advanced Member

Groups: Member
Joined: 11/30/2012(UTC)
Posts: 61

Thanks: 6 times
FYI: I hadn't thought to try and hide the vertical scrollbar (it appears to be showing for 4 lousy pixels). I have added the following to the div tag that holds the uploader:

style="width: 100%; overflow-y: hidden ! important"

This appears to resolve the issue.

Mike

Edited by user Tuesday, December 4, 2012 7:40:57 AM(UTC)  | Reason: Clarification

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.