我在我的HTML代码如下面的代码更img标签,img标签宽度高度问题在Firefox
<div id="container" >
<div>
<img alt="Image1" id="Image1" src="" width="130px" height="90px" class="img">
<input type="file" id="files1" class="fileUpload" name="files1[]" style="display:none" value="Select Image">
<br>
<br>
<img alt="Image2" id="Image2" src="" width="130px" height="90px" class="img">
<input type="file" id="files2" class="fileUpload" name="files1[]" style="display:none" value="Select Image">
<br>
<br>
<img alt="Image3" id="Image3" src="" width="130px" height="90px" class="img">
<input type="file" id="files3" class="fileUpload" name="files1[]" style="display:none" value="Select Image">
<br>
<br>
<img alt="Image4" id="Image4" src="" width="130px" height="90px" class="img">
<input type="file" id="files4" class="fileUpload" name="files1[]" style="display:none" value="Select Image">
<br>
<br>
<img alt="Image5" id="Image5" src="" width="130px" height="90px" class="img">
<input type="file" id="files5" class="fileUpload" name="files1[]" style="display:none" value="Select Image">
<br>
<br>
</div>
</div>
更新时间:
MyCSSsoFar.css
#container {
width: 600px;
}
#container div {
float: left;
height: 300px;
width: 300px;
}
当我运行这个在铬上其宽度如下图所示,
但是,当我在Firefox上运行其不与原单宽度和高度像下面的图像显示,
我想在所有browser.How其宽度和高度类似镀铬显示解决这个问题?
请问你的CSS看起来像那么远? – pbaldauf 2015-02-07 11:05:25
尝试加上'''' – 2015-02-07 11:06:55
@pbaldauf现在检查我的问题。 – MMMMS 2015-02-07 11:08:34