You can extract just the DIV and return it as the HTML of the component. As 
for the CSS, technically that should probably go in the head element of the 
parent page, but I think most browsers will still recognize it if you put 
it elsewhere (e.g., within the returned component HTML).

Anthony

On Thursday, July 17, 2014 3:09:30 PM UTC-4, Jim S wrote:
>
> I don't think my problem is really web2py related but was hoping someone 
> here might have done this already.
>
> The attached file is the html representation of an email.
>
> I want to embed and display that file within my page.  Actually it is a 
> load'd component. I don't want it displayed verbatim, I want it to render 
> the page respecting the html and css.  I'm having a brain-block and can't 
> figure out how to do it.  
>
> Has anyone else ever done anything like this?  Seems to me like this 
> should be really easy, but I'm really not making any headway on it.
>
> -Jim
>

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to