How to change height of iframe from px to percentile -


i working on wcag 2.0 ,one of requirement says use relative rather absolute units in html attributes. use percentages rather pixels sizing frames , tables.

the actual problem iframe controls. when ichange width fine , height not changing when changed px %.

the content of iframe cross domain.

<div xmlns="http://www.w3.org/1999/xhtml">          <iframe id="led_frame" width="1000" height="900" frameborder="no" title="employment  dynamics" src="http://lehd.did.census.gov/led/index.html" name="led_frame" style="margin- left:-35px">     ..............     </iframe> </div> 

i tried 1. adding height container div. 2. adding height body tag.

any suggestion helpful..............


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -