On Aug 25, 1:31 am, "Erik Beeson" <[EMAIL PROTECTED]> wrote:
> This seems to work in FF2/Mac:
>
> var myCss = 'p { border: 2px solid #faa; }';
> $(head).append('<style type="text/css">' + myCss + '</style>');
I tried something like this, but it didn't seem to take.
I drifted into doing something with the <link> in DOM that I see with
FireBug. I figure if Firebug allows you edit it, you can program it
too. I figured I can change what wast imported by overwring it with
the content in the textarea.
Anyway if it worked for you, it should work for me. Lets try it.... It
didn''t take, but I do see it in DOM. Does it need to be "eval()"?
--
HLS
- [jQuery] Re: How to Inject style sheets/.CSS Glen Lipka
- [jQuery] Re: How to Inject style sheets/.CSS Erik Beeson
- [jQuery] Re: How to Inject style sheets/.CSS Glen Lipka
- [jQuery] Re: How to Inject style sheets/.CSS Erik Beeson
- [jQuery] Re: How to Inject style sheets/.CSS Pops
- [jQuery] Re: How to Inject style sheets/.CSS Erik Beeson
- [jQuery] Re: How to Inject style sheets/.CSS Erik Beeson
- [jQuery] Re: How to Inject style sheets/.CS... Pops
- [jQuery] Re: How to Inject style sheet... Erik Beeson
- [jQuery] Re: How to Inject style s... Pops
- [jQuery] Re: How to Inject sty... Erik Beeson
- [jQuery] Re: How to Inject sty... Pops
- [jQuery] Re: How to Inject style s... Michael Geary
- [jQuery] Re: How to Inject sty... Erik Beeson
- [jQuery] Re: How to Inject sty... Pops

