I am struggling to embed an iframe from my Blogger site into a specific section on my website and round its corners using CSS. I followed a tutorial that suggested using overflow: hidden;
, but for some reason, it's not working in my case - see the image below.
CSS:
section iframe.dnevnik{
width: 100%;
height: 770px;
border: 1px solid grey;
}
section.dnevnik {
margin-top: 83px;
margin-bottom: 10px;
padding: 0px 0px 0px 0px;
border: 2px solid black;
border-radius: 10px;
background: rgba(255, 255, 255, 1.00);
font-size: 16px;
font-family: s10;
text-shadow: 1px 1px 1px #EFEFEF;
overflow: hidden;
}
HTML implementation:
<section class="dnevnik">
<iframe class="dnevnik" src ="http://ziga-lausegger.blogspot.com/" frameborder="0" scrolling="no"></iframe>
</section>
I'm unsure why the overflow property isn't taking effect when applied to the parent element containing the iframe. Any insights?