<label><input type="radio" name="" value="" id="" /> <img src=""></label>
Как може input radio бутона да застане в средата до изображението, а не най-отдоло както е в момента. Да е в центъра на позицията му до изображението..
Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<label><input type="radio" name="" value="" id="" /> <img src=""></label>
.input{
float:left;
display:block;
}
.img{
display:block:
float:left;
}
.clear{
clear:both;
}
<label>
<input class="input" type="radio" name="" value="" id="" />
<img class="img" src="">
</label>
<div class="clear"></div>
input {
vertical-align: middle;
}
img {
vertical-align: middle;
}
display: block;
display: inline;
<table border="0">
<td><input type="radio" /></td>
<td><img src="kartinka.jpg" border="0" /></td>
</table>