开发者

What stylesheet gets used by loading ajax content?

开发者 https://www.devze.com 2022-12-15 08:08 出处:网络
I am trying to find out whether a piece of content included via ajax, needs it\'s own call to the stylesheet, or relies upon the stylesheet loaded of the calling page...

I am trying to find out whether a piece of content included via ajax, needs it's own call to the stylesheet, or relies upon the stylesheet loaded of the calling page...

It just isn't clear how it is being style开发者_JAVA百科d, and what is the source of that stylings....

My educated gut tells me it get it's styling from the calling page, but i'd like to see some solid reliable proof.

Thanks


The dynamic content will be styled by whatever rules are already present.


If you use Firebug you can see detailed information about the styling of the page as the AJAX is being executed.


Unless it opens a new window or tab in a browser, it's part of the page, and uses the same stylesheets.

0

精彩评论

暂无评论...
验证码 换一张
取 消