How do I set the height and width for an iframe when my controller does 
,
 
  return dict(stuff=variousandsundry, iframe=IFRAME(_src(URL(mypage)))


I've tried 

  return dict(stuff=variousandsundry, iframe=IFRAME(_src(URL(mypage)),
_height=200,_width=200))

but still came out with too short, too wide.  Oops, never mind ... I needed 
to use 210,210 to account for margin/border/padding.
Oh, and _frameborder=0 helps,too.

Sorry if this looks like noise, but maybe it will help some future 
web2py-ist.

/dps



-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to