* Chris W. Parker <[EMAIL PROTECTED]> [2006-11-15 11:56]: > On Wednesday, November 15, 2006 8:07 AM Alan Gutierrez <> said: > > > I'm not finding any methods for editing stylesheets. > > > > I'd like to change a style as it is defined in the document. > > That's probably because there are none. You don't (can't?) modify the > .css file directly with js. Instead you modify the styles that have > already been applied. > > But perhaps there is a better way to solve your problem. Why do you want > to change the .css file directly? Can you not just create two styles and > use jQuery to switch between them?
You can redefine css rules programatically. I've done so here... http://blogometer.com/repository/etude/jQuery/grid/grid.html It is faster to let the CSS layout engine change the style of every table cell with a style of 'grid-X-column-4' than to iterate using a jQuery selector. I did find a class that alters stylesheets in a x-browser fashion. http://blogometer.com/repository/etude/jQuery/grid/grid.js Was hoping for a jQuery plugin. -- Alan Gutierrez - 504 717 1428 - [EMAIL PROTECTED] - http://blogometer.com/ Think New Orleans - http://thinknola.com/ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/