Embedded Video removes Background Image in it's section.
-
Google Chrome. Windows 10.
Alrighty. I’m learning through trial by fire here (so please excuse any funky code). Googling my problems away, remembering my past coding classes as I go. I’m having trouble with this in particular.
I’ve embedded a video into a page. https://45.79.7.4/~alexsaen/bestplaceaward/ this one here. As you might see, to the left and right of my video, it’s white. Below that in the “call to action” section, the background image remains. See my funky code below.
<section id="Header Video" <br /> <br /> <br /> <div style="margin: 0px auto; text-align: center; width: 800px; height: 450px"> <iframe width="800" height="450" src="https://www.youtube.com/embed/xJrem36Fbz8" frameborder="10" allowfullscreen></iframe> </div> </section>
The page breaks are so it doesn’t sit under the red menu bar. I suspect the problem is that I set the div to have it’s own style with “<div style =” but I’m unsure. If you can help me, I’d appreciate it.
Thank you for any help you can provide.
- The topic ‘Embedded Video removes Background Image in it's section.’ is closed to new replies.