Hello,

I just add some details about my previous intervention.


   - You can bind a handler to the event "create", that is raised when the
   dialog is being created. See: http://docs.jquery.com/UI/Dialog
   - You can access CSS using JQuery : http://api.jquery.com/css/

So my solution is :

You should bind a handler to the event "create". This handler should remove
the CSS.

I did not test it. but it should work.

Regards,

Denis


http://docs.jquery.com/UI/Dialog

2011/3/29 Denis BEURIVE <[email protected]>

> Hello,
>
> I may have a solution. But, I have not tested it.
>
> Using JavaScript, and JQuery specifically, you can access CSS (
> http://api.jquery.com/css/).
>
> Therefore, you should be able to remove the inherited CSS, using JQuery.
>
> Regards,
>
> Denis
>
>
>
>
>
>
> 2011/3/29 johnw <[email protected]>
>
>> I'm using Blueprint for my site, but I have a need for previewing
>> another page within the context of my main website page but not
>> inherit it's associated styling.
>>
>> I'm using jQuery.dialog() to create the preview, but since the preview
>> markup needs to be embedded within the main website for jQuery to
>> grab, it inherits all the Blueprint styling.  The page being previewed
>> has entirely separate css within it (it is an html email template with
>> <table>).
>>
>> The page from which the preview occurs looks like this:
>>
>> html
>>  head
>>  body
>>    div .container
>>      main page goes here
>>    /div
>>    div preview
>>      email template code for jQuery dialog goes here.  I don't want
>> to Blueprint to cascade here.
>>    /div
>>  /body
>>
>> Any ideas on the best way to handle this?
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Blueprint CSS" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/blueprintcss?hl=en.
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Blueprint CSS" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/blueprintcss?hl=en.

Reply via email to