Subject: | <iframe> use identifier |
Posted by: | Jonas_Thörnvall |
Date: | Sun, 26 Jan 2020 |
I have some iframes in my main document.
And i try to make code to hide and show them.
Specifically i now work with iframe and stylecode where i set the iframe default to visible at load in main document.
However i do not understand why i refer to the style "object" identifier using iframe and not virtpiano? Because the below style segment affect all iframes in document? I tried use virtpiano in stile but that doesn't do anything.
<iframe src="/virtpiano.html" id="virtpiano" name="virtpiano" width=1890 height=200 ></iframe>
<style>
iframe {
visibility: visible;
position: absolute;
left: 0; top: 500;
height:130; width:1890;
border: none;
}
</style>
So what identifies the iframe "object?"