This worked forff2 - I was using #head when I tried this earlier ;)
bmsterling wrote: > > well, you can append to the head, example: > http://ov-staging.informationexperts.com/e.htm > > <script type="text/javascript"> > $(document).ready(function(){ > $('head').append('<style>body{background:#000;}</style>'); > }); > </script> > > This does not work in the IEs tho (6, 7), but I am sure something like > that > is possible with some tweak. It does work in opera 9 and ff2 > > > -- > Benjamin Sterling > http://www.KenzoMedia.com > http://www.KenzoHosting.com > > _______________________________________________ > jQuery mailing list > [email protected] > http://jquery.com/discuss/ > > -- View this message in context: http://www.nabble.com/How-can-I-create-a-%28style%29-.class-dynamically--tf3276875.html#a9121616 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
