Jump to content

multiple iframe styles?


liamloveslearning

Recommended Posts

Hi everyone, im just wondering is it possible to set 2 different iframe styles? say I have in my stylesheet

 


iframe {
width:10px;
height:20px;
}

.iframe2 {
width:20px;
height:10px;
}

 

and then in my document used

 


<iframe width="200" height="220" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="google.com"</iframe>

<iframe class="iframe2" src="google.com"</iframe>

 

Ive tried it and its not working, should i just use inline styles and define them that way ?

Link to comment
https://forums.phpfreaks.com/topic/190638-multiple-iframe-styles/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.