Я пытаюсь поставить две строки текста рядом с изображением, вроде как
_________
| | Line one of text
| image |
| | Line two of text
---------
Это код, который у меня есть до сих пор
<p style="color: #fff;"><img src="assets/image.png"><span style="">Line one of text</span>
<br>
<span class="ban2">Line 2 of text</span></p>
.banner p {
font-family: "Gentium Basic";
font-size: 19px;
text-align: center;
color: #aaa;
margin-top: -10;
display: block;
}
.banner img {
float: center;
margin: 5px;
}
.banner span {
padding-top: 50px;
font-size: 17px;
vertical-align:top;
}
.banner .ban2 span {
padding-top: 50px;
font-size: 17px;
vertical-align:top;
}
Но в настоящее время он делает это:
_________
| | Line one of text
| image |
| |
---------
Line two of text
Я смотрел по всей сети, но не смог понять, как это сделать, любая помощь будет очень желанной.