HTML not taking on webflow styles

Hi, I need help.

I’m trying to embed an html code into a container + div, but how do I put it… the html doesn’t respond to the height and width restrictions I set.

I’m trying to get the entire HTML video shown within the space.


Here is my site Read-Only: LINK

I’m trying to imitate this

hi @Harley_T here is one way “how to” to give you an idea what can be done differently to your current setup. As you use custom code you may introduce media queries for your video element sizing.

EDIT: I have now checked video and I have realised that I have left there margin-inline: auto that is redundant when Flex justify-content: centre is in use.

1 Like