Hi all,
I have a piece of HTML code here which is a progress bar, As I upload a file to the server, i set the inner divs width to whatever % has upload, here is the HTML and CSS..
Code:
<DIV ID="uploadStatus" STYLE="display:inline;">
<span class="uploadStatusText">Upload Staus: </span>
<div class="prog-border"><div class="prog-bar" style="width:0%;"></div></div>
<span class="uploadStatusText">No upload started</span>
</DIV>
The CSS
Code:
.prog-border {
height: 12px;
width: 205px;
background-color: #FFFFFF;
border: 1px solid #000000;
margin: 0px;
padding: 0px;
display:inline;
}
.prog-bar {
height: 10px;
margin: 0px;
padding: 0px;
background: #99CC00;
}
.uploadStatusText {
font-size:10px;
color:#757575;
display:inline;
}
It works fine in IE but firefox doesn't seem to like it, if I reduce the code to just this firefox still doesn't like it
Code:
<DIV ID="uploadStatus" STYLE="display:inline;">
<span class="uploadStatusText">Upload Staus: </span>
<div class="prog-border"></div>
<span class="uploadStatusText">No upload started</span>
</DIV>
So I'm still baffled, what is wrong with the class
prog-border anybody know what I'm doing wrong?
TIA,
Dale