How to position embedded objects such as YouTube
-
I will often embed a Youtube video or some other “object” that is sourced from another site in my posts. More often than not the embed code does not include any obvious means of positioning that object so it always is placed in the very left hand side of the page.
I’d like to be able to place that object in the middle of the page, or in some cases have my text wrap around it.
Here is an example of code that I want to use in a post. I copy it to the HTLM tab in the post and it works perfectly, only it lines up on the left hand side of the page and I want to center it. As a bonus I would LOVE to be able to wrap text around it.
<script type=”text/javascript”
src=”http://www.oil-price.net/TABLE2/gen.php?lang=en”>
</script>
<noscript> To get the WTI oil price, please enable Javascript.
</noscript>How to?
Chris
The topic ‘How to position embedded objects such as YouTube’ is closed to new replies.