开发者

How to make these video links on the same line?

Please view the Wordpress video gallery here: http://milabalami.com

I want the two videos to be on the same line. They are both in the same paragraph and I have not added a <br> tag. As far as I know, the CSS should be correct, but I am suspecting 开发者_JS百科that I am missing something here? Anyone who can solve this puzzle for me?


You can simply do this:

.floatbox {
    float: left;
}


The problem is that in you <a> you have a <span> that has the style display:block

you can solve this by either floating you <a>:

.floatbox {
    float: left;
}

alternatively, by styling you <a> with display:inline-block

.floatbox {
    display:inline-block;
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜