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;
}
精彩评论