I have a demo here application. Please open the application and then click on the "Add" question button to append a table row. You will see 4 table columns, three of those columns consists of an image file input, video file input and audio file input. In one of the inputs please select a relevant file and upload it and you will see a loading bar. The problem though is that the loading bar is not displayed in the center of its table cell.
My question is how do I center the loading bar for each file input in its own table cell?
Below is the css for loading bar in all three file inputs:
.imagef1_upload_process{
position:absolute;
visibility:hidden;
text-align:center;
margin-bottom:0px;
padding-bottom:0px;
}
.videof1_upload_process{
position:absolute;
visibility:hidden;
text-align:center;
margin-bottom:0px;
padding-bottom:0px;
}
.audiof1_upload_process{
position:absolute;
visibility:hidden;
text-align:center;
margin-bottom:0px;
padding-bottom:0px;
}
Below is the html for each loading bar:
Image loading bar:
<form action='imageupload.php' method='post' enctype='multipart/form-data' target='upload_target_image' onsubmit='return imageClickHandler(this);' class='imageuploadform' >
<p class='imagef1_upload_process'>Loading...<br/><img src='Images/loader.gif' /></p>
</form>
Video loading bar:
<form action='videoupload.php' method='post' enctype='multipart/form-data' target='upload_target_video' onsubmit='return videoClickHandler(this);' class='videouploadform' >
<p class='videof1_upload_process'>Loading...<br/><img src='Images/loader.gif' /></p>
</form>
Audio loading bar:
<form action='audioupload.php' method='post' enctype='multipart/form-data' target='upload_target_audio' onsubmit='return audioClickHandler(this);' class='audiouploadform' >
<p class='audiof1_upload_process'>Loading...<br/><img src='Images/loader.gif' /></p>
</form>