Hey Ryan, A couple suggestions: 1) Are you using CSS expressions? I know CSS tidy has issues with them. I was able to work around in some cases by changing the expression. 2) You can try setting the $cssCompression var to something other than "high_compression". Not sure if this will make a difference since you've already tried a bunch of other settings. 3) You can take out lines 168-174. That will get rid of the code that calls the CSS tidy.
-Matt http://www.pseudocoder.com On Nov 20, 10:00 pm, RyOnLife <[EMAIL PROTECTED]> wrote: > I am using the AssetHelper from Matt/pseudocoder.com. Great helper for > CSS and JS compression, but CSS Tidy is causing me fits... > > Due to all of its compression measures, in some cases it's messing up > my pages by combining or re-arranging selectors, etc. Even with the > options shown below (I just edited the class directly), pages with the > compressed CSS render differently (messed up) than the uncompressed > CSS. > > Any way to configure the helper and/or CSS Tidy to just combine all of > my CSS files into one, and do nothing more than that? > > $this->settings['remove_bslash'] = false; > $this->settings['compress_colors'] = false; > $this->settings['compress_font-weight'] = false; > $this->settings['lowercase_s'] = false; > $this->settings['optimise_shorthands'] = 0; > $this->settings['remove_last_;'] = false; > $this->settings['case_properties'] = 0; > $this->settings['sort_properties'] = false; > $this->settings['sort_selectors'] = false; > $this->settings['merge_selectors'] = 0; > $this->settings['discard_invalid_properties'] = false; > $this->settings['css_level'] = 'CSS2.1'; > $this->settings['preserve_css'] = true; > $this->settings['timestamp'] = false; --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
