我正在尝试运行一个简单的函数.
function assify(ass) {
window.location.href(ass);
}
Run Code Online (Sandbox Code Playgroud)
我遇到的参数是 assify?id=2
我不断收到错误(Uncaught TypeError: String is not a function)
这里出了什么问题?
谢谢!
我已经成功地将一行文本与图像(小提琴)对齐.
<div class="profile-details-wrapper">
<img class="profile-picture" src="http://placehold.it/50x50" />
<span class="profile-details">
username
</span>
</div>
Run Code Online (Sandbox Code Playgroud)
但是,当我尝试添加另一行文本时,它会包裹在图像下(小提琴).
<div class="profile-details-wrapper">
<img class="profile-picture" src="http://placehold.it/50x50" />
<span class="profile-details">
username
<br />
username
</span>
</div>
Run Code Online (Sandbox Code Playgroud)
如何使多行文本超出旁边图像的高度,但不会在其下面换行?
奖金问题:我如何垂直对齐呢?