I tried things like text align and center tags... Can anyone help?
Thanks - Max
I tried things like text align and center tags... Can anyone help?
Thanks - Max
You shouldn't use the center tag. Leave all the styling to the CSS.
Did you try setting the left and right margins to auto?
Something like:
margin: 0 auto;
Edit: I was able to center a YouTube video by making the CSS for the iFrame set its width, set its display type to block, and set the horizontal margins to auto. Here's what my code looks like.
iframe {
width: 560px;
display: block;
margin: 0 auto;
}
Add the following CSS property to your iframe and:
iframe {
display: block;
margin: auto;
}