This STYLE discussion got me to run a few experiments - here's what I found (tested FF2+3, Chrome, IE6-8).
- Even though STYLE is supposed to live in the HEAD all browsers are happy to have as many style elements sprinkled around as you like. All the styles will be applied as you'd expect. There's no 'scoping' of styles (qv. HTML5). - All browsers allow the dom to inject Style elements anywhere you like (head or body) at any time; immediately all the new styles are applied. Having ajax bring in a new style with an html fragment is, I think, really useful. Although you have to remember that it's going to be applied globally, it means you don't have to remember up-front to include your (for example) pop-up styling in every page where you might use it. AJP --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" 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/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---
