PDA

View Full Version : Content Of Iframe Is Not Getting Aligned In Ipad.



granjith
2 Feb 2012, 5:08 AM
Hi All,

I am trying to use an svg in my app as mentioned below. Svg is getting stretched and getting aligned in center in chrome browser. But if i browse the same in IPAD, svg content is left aligned and not getting stretched.

{

layout: 'fit', html: '<iframe id="iFram1" width=100% height=100% src="Sample.svg" type="image/svg+xml"></iframe>'
}Regards
Ranjith.G

mitchellsimoens
2 Feb 2012, 9:51 AM
Is there a reason why you are using an iframe?

granjith
2 Feb 2012, 8:48 PM
Hi Mitchellsimoens,

To display SVG images i am using iframe. Please let me know if there is any other way to show SVG's and displays properly on IPad too.

Regards
Ranjith.G