An iframe would solve the CSS issues, but introduces other quirks.  My
biggest objection to using an iframe is that it adds a set of scroll
bars inside the middle of the page.

I have been able, in the past, to use a little javascript to modify the
size of the iframe based on the size of the content of the frame with
moderate success.  Every browser behaves slightly different and isn't
fool-proof.  If anyone has had success with resizing iframes dynamically
to avoid the scroll bars I would appreciate knowing.

Thanks for all your help.

-Scott


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Barney Carroll
Sent: Wednesday, November 15, 2006 5:02 AM
To: css-d@lists.css-discuss.org
Subject: Re: [css-d] Disable CSS for a page fragment

Stephan Wehner wrote:
> IFrame?

An iframe has its own body (I'm not exactly clear on governing factors 
here), and is effectively a window onto a new page.

There are many arguments against frames as general layout practice but 
in this case it seems completely appropriate - any other method would 
seem to be trying to emulate this, and implicitly over-complicated. 
Simply give your frame src="[email's url]".

> Presumably you would only need to undo those styles that "are
> affecting the display of the embedded message."

Maybe I've misunderstood - are you trying to remove styles called 
by/imbedded in the email itself? That'd be a little more finicky,
but I imagine working from the basis of the iframe would already allow 
you to work on a sounder conceptual basis from there...

Regards,
Barney

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to