How to align and make a video in line with the text in Blogger

blogger logoThe default setting in Blogger when we post a video is the video will not be in line with the text. It is separated with the text. Sometime it is nice when we make a video in line with the text. If you want to make your video in line with the text, whether your video from Youtube, Blogger itself, or anywhere else, just put the code as i show you below.


<span style="margin: 9px; float: left; display:
block;">

<object id="BLOG_video-7d10f1843ae52cd7" class="BLOG_video_class"

contentid="7d10f1843ae52cd7" height="266" width="320"></object>

</span>


Just put the code in red in between of the video code. Below is the original video code;

<object id="BLOG_video-7d10f1843ae52cd7" class="BLOG_video_class"

contentid="7d10f1843ae52cd7" height="266" width="320"></object>






Happy coding and blogging. All the best :)


Categories:

0 comments:

Post a Comment