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
Post a Comment