Home >Web Front-end >HTML Tutorial >css功底不过关,求帮忙!_html/css_WEB-ITnose

css功底不过关,求帮忙!_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-21 09:02:27939browse

<input type="radio"  name="p_id"  value="<%=RsA(0,i)%>" class="dxk"  <%if RsA(2,i)=1 then response.Write("checked='checked'")%> /><img  src="images/name<%=i% alt="css功底不过关,求帮忙!_html/css_WEB-ITnose" >.jpg" width="210"    style="max-width:90%"  align="left"/>


循环生成一个input表单元素,后面跟一张图片,代码如上,怎么样让这个input和图片垂直居中?


回复讨论(解决方案)

http://www.w3school.com.cn/cssref/pr_pos_vertical-align.asp

Statement:
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