Jump to content

set the width and height of iframe with percent


Nati323

Recommended Posts

hello , i have seen here: http://www.w3schools.com/tags/tag_iframe.asp, that you specified the value of width and height pixels, so i concluded that pixels yes percent no, its right? because when i do to iframe width="100%" its work (at chrome at least).dose its work in all browsers and all versions? its legal? if not , with css its possible?

 

edit:

now i see this : http://www.w3schools.com/tags/att_iframe_height.asp , and you wrote there that in html 5 % dosent work. what i can do?

Edited by Nati323
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...