I am currently using ajax uploader on website i am in the progress of building. I am using a custom browse for file / upload button which was easy to place. I also centered the upload progress bar in the middle of my div. However, the file list is not centered in my div.. How do, i center the file list?
The Progress Bar
The File List
The Source Code
- <div style="float:left; margin:0px 0px 0px 0px; border:thin solid transparent; width:675px;" >
- <p style="text-align:center; margin:0px;" >Select an image file on your computer (4MB max): </p>
- <p style="text-align:center; margin:0px;" >
- <asp:Image ImageUrl="~/Images/selectanimage.png" runat="server" ID="Image1" style="margin:10px auto 0px auto;" />
- </p>
-
- <div style="text-align:center; margin:0px auto 0px auto; width:400px; border:thin solid transparent; " >
- <CuteWebUI:Uploader ID="FileUploader1" ClientIDMode="Static" ProgressLabelStyle-CssClass="DialogLabel" MaxFilesLimit="1" runat="server" TempDirectory="~/UploaderTemp"
- OnUploadCompleted="Uploader1_UploadCompleted" InsertButtonID="Image1" >
- <ValidateOption AllowedFileExtensions=".png,.jpg,.bmp,.jpeg,.gif, ," />
- </CuteWebUI:Uploader >
- <asp:Button runat="server" ID="SubmitButton" OnClientClick="return submitbutton_click()" Text="Submit" style="display:none;" />
- <div style="clear:both;" ></div>
- </div>
-
- <asp:Panel ID="ImagePanel" ClientIDMode="Static" runat="server" style="margin:10px auto 0px auto; padding:0px; border:thin solid transparent; width:675px;" >
- <p style="margin:10px 0px 0px 0px; text-align:center;" class="DialogLabel" >Crop the image area you wish to use as your button</p>
-
- <p style="text-align:center; margin:0px;" >
- <asp:Panel ID="ImageDiv" ClientIDMode="Static" runat="server" style="clear:both; margin:0px 0px 0px 0px; border:thin solid black; background-image:url(../Images/workarea.png); " >
- <asp:Image ID="resizebleImage" ClientIDMode="Static" runat="server" style="clear:both; margin:8px 0px 0px 10px; border:thin solid red;" />
- </asp:Panel>
- </p>
- </asp:Panel>
-
- </div>