我有一些文本,在某一点之后,突然变成两行。我尝试过CSS。
void foo_rec(int i, int k, int t, int p)
{
std::cout << i << k << t << p << std::endl;
if (++p == 2) {
p = 0;
if (++t == 2) {
t = 0;
if (++k == 2) {
k = 0;
++i;
}
}
}
if (i < 2) {
foo_rec(i, k, t, p);
}
}
void foo()
{
foo_rec(0, 0, 0, 0);
}
不起作用。我只希望它在一行上,否则会弄乱事情。因此,从本质上讲,要超过一行并且增加字体大小,如果行太大,也会使行断开。
HTML:
.awpcp-listing-excerpt-extra {
display: inline;
}
页面:https:///adsler.co.uk/browse-adsler/
标记为重复**
这是不同的,因为我尝试显示<div class="awpcp-listing-excerpt $awpcpdisplayaditems
$isfeaturedclass" data-breakpoints-class-prefix="awpcp-
listing-excerpt" data-breakpoints='{"tiny": [0,328], "small":
[328,600], "medium": [600,999999]}'>
<div class="awpcp-listing-excerpt-thumbnail">
$awpcp_image_name_srccode
</div>
<div class="awpcp-listing-excerpt-inner" style="w">
<h4 class="awpcp-listing-title">$title_link</h4>
<div class="awpcp-listing-excerpt-
content">$excerpt</div>
</div>
<div class="awpcp-listing-excerpt-extra">
$awpcpadpostdate $awpcp_city_display
,但没有用。
答案 0 :(得分:2)
只需添加一个完整的宽度:
routes.js
app.get('/profile', isLoggedIn, function (req, res) {
let respondent_id = req.user.user_respondent_id;
getData(respondent_id, function (score) {
//the user object can be rendered in the ejs files
res.status(200).render('profile.ejs',{user: req.user, score})
});
});
结果:
答案 1 :(得分:0)
您可以尝试使用flexbox:
.awpcp-listing-excerpt-extra {
display: flex;
flex-direction: row;
}