Display order problem of 2 img in td_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:55:47
Original
1093 people have browsed it

The html code is as follows:

<td rowspan="4" width="115px" valign="middle" onclick="selectDish(1)">  <img src="image/iconMinus.png" id="zdishMinus_1" class="iconSize1 " valign="middle" align="right">  <input type="text" name="textfield" id="zdishCount_1" value="1" class="TxtInput4 textCenter " readonly="readonly" valign="middle" align="right">  <img src="image/iconAdd.png" class="iconSize1" valign="middle" align="right"></td>
Copy after login


The page is displayed as follows:


image/iconMinus.png is the "-" picture, image/iconAdd .png is a picture with the number " "

Does anyone know why the first iconMinus.png is displayed at the end of td?


Reply to the discussion ( Solution)

Post the style! !

Is it the style of img?
.iconSize1{width:39px; height:39px;}
.TxtInput4{ width:30px;height:30px; font-size:18px;-webkit-border-radius:5px;}
.textCenter { text-align:center;}

.iconSize1{width:39px; height:39px;float:left;}
.TxtInput4{ width:30px;height:30px; font-size:18px; -webkit-border-radius:5px;float:left;}
.textCenter{ text-align:center;float:left;}



That’s it, thank you!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template