[thelist] Applying stylesheets to IFRAMEs

Peter Brunone peter at easylistbox.com
Sat Apr 28 19:19:24 CDT 2007


Why not just use a hidden iframe as a target, and then pull the html out and stuff it into a div in the main page?

Just a thought...

Peter
-----Original Message-----
From: "Brent Eades" <beades at almonte.com>
To: "th >> "thelist at lists.evolt.org"" <thelist at lists.evolt.org>
Sent: 4/28/2007 6:45 PM
Subject: [thelist] Applying stylesheets to IFRAMEs

I've been tinkering with Yahoo's 'Pipes', and have created a search tool 
that digs through economics-related RSS feeds, and returns the search 
results into an <iframe> on my own site:

http://almonte.com/pipes/pipes2.html

I realize that <iframe> is not ideal practice. But at the moment I can't 
think of a better way.

Iframes don't, of course, inherit the CSS applied to the parent 
document. I've tried quite a few ways of applying a given bit of CSS to 
the <iframe> contents, but to no damn avail yet.

So, two questions:

1. Is there a reliable away of 'forcing' CSS on content contained in an 
iframe?

2. Better still, is there an alternative to <iframe> that I'm not 
thinking of? The main advantage of <iframe> is that it can be the target 
for the output of forms, which I don't believe an <object> can be... but 
maybe I'm forgetting something here, an approach better than <iframe>?

-- 
Brent Eades	
Almonte, Ontario
http://almonte.com

-- 

* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

For unsubscribe and other options, including the Tip Harvester 
and archives of thelist go to: http://lists.evolt.org 
Workers of the Web, evolt ! 





More information about the thelist mailing list