How To make youtube video align to center? | SoloLearn: Learn to code for FREE!

0

How To make youtube video align to center?

How can I set YouTube video's align to center??? THIS DISCUSSION IS ENDED! PROBLEM WAS SOLVED THX FOR ANSWERING!! :-) :-)

1/8/2017 12:54:37 PM

GhostMiner

5 Answers

New Answer

+4

<center>tag is deprecated, do not use it, you have css for that purpose. #someid{ margin:auto; } or you can put your video whenever you want with position : absolute/relative

+9

<center>

+2

Or margin:auto in css

+2

yeah just like ValentinHacker said, just wrap <center> tags around the video and it should work :)

0

THIS DISCUSSION IS ENDED! PROBLEM WAS SOLVED THX FOR ANSWERING!! :-) :-)