On Wed, Feb 4, 2009 at 6:35 PM, ajp <[email protected]> wrote:
> > 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). In fact I'm not sure about that. I recently heard from a collegue about a strange limitation in IE that after a certain number of <style> tags (that number is fixed), rules don't get applied anymore. I'm going to look it up again and see if I can find any information about it. > > > - 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 > > > > -- Paul Bakaus UI Architect -- http://paulbakaus.com http://www.linkedin.com/in/paulbakaus --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
