How do you center the embedded youtube video code in firefox and chrome? Nothing I try seems to work. I tried using align for object, I tried throwing the object into a div that is centered. Thanks
Put it in it's own container: HTML <div class="youtube-video">*youtube code here*</div> Code (markup): CSS: .youtube-video {width: 430px; margin: 0 auto;} Code (markup): Should work
That made me laugh, lol. Back on topic, depending on how your layout is you might not have to do it the way MhW suggested. Also if you aren't familiar with css. You could always go with the outdated <center></center> tags.
I don't get the joke ... line 32 of what? the embedded youtube code? It worked fine with CSS, thanks.
No problem FYI, the point drhowarddrfine was trying to make is that you didn't post a link to where you were having the problem, you didn't even post any HTML / CSS. It can be frustrating when somebody asks for help and doesn't give any decent information. Help us, help you
Oh, I figured a solution would be fairly generic considering embedded youtube videos are a common thing, but I guess I should have posted a url. Thanks anyway!