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.
精彩评论