As far as i know when you do
<iframe src="www.google.pl"></iframe>
you have no control over the layout or display styles of the page in the iframe, unless you own the page and cannot make it look the way you like.
edited
If you are showing your own site, do the following:
<iframe src="/some_site_that_i_can_change_code_in?from=iframe"></iframe>
and then in the controller some_site_that_i_can_change_code_in:
if params[:from] == "iframe" render :layout => "for_iframe" else render :layout => "normal" end
source share