Hello
I am unsure where to place a <div></div> in my ASP script. I am trying to achieve something like the box that shows uploaded files in the attached screenshot.
The CSS I have is this:
so my ASP code would need to be surrounded by
<div class="solidBlu e">ASP script here</div>
The relevant ASP is this:
Thank you for any advice.
Blue
I am unsure where to place a <div></div> in my ASP script. I am trying to achieve something like the box that shows uploaded files in the attached screenshot.
The CSS I have is this:
Code:
.solidBlue { border-style:solid; border-color:#E2EFF8; border-width:thin; margin:15px; width:150px; padding:10px; }
<div class="solidBlu e">ASP script here</div>
The relevant ASP is this:
Code:
function SaveFiles Dim Upload, fileName, fileSize, ks, i, fileKey Set Upload = New FreeASPUpload Upload.Save(uploadsDirVar) ' If something fails inside the script, but the exception is handled If Err.Number<>0 then Exit function SaveFiles = "" ks = Upload.UploadedFiles.keys if (UBound(ks) <> -1) then SaveFiles = "<h4 class=""head"">Files uploaded:</h4> " for each fileKey in Upload.UploadedFiles.keys SaveFiles = SaveFiles & "<p class=""head1"">" & Upload.UploadedFiles(fileKey).FileName & " (" & Upload.UploadedFiles(fileKey).Length & " B)</p>" next else SaveFiles = "No file selected for upload or the file name specified in the upload form does not correspond to a valid file in the system." end if 'SaveFiles = SaveFiles & "<br><p class=""head2"">Enter a number = " & Upload.Form("enter_a_number") & "</p>" 'SaveFiles = SaveFiles & "<p class=""head3"">Checkbox values = " & Upload.Form("checkbox_values") & "</p>" 'SaveFiles = SaveFiles & "<p class=""head4"">List values = " & Upload.Form("list_values") & "</p>" 'SaveFiles = SaveFiles & "<p class=""head5"">Text area = " & Upload.Form("t_area") & "</p>" end function %>
Blue
Comment