
Originally Posted by
RyanReese
What's the site?
Sorry about that Ryan, I've just edited my post to add the site URL.
As a workaround, I'm commenting out the line in my compression script which removes empty spaces that exist before colons:
Code:
function compress_scripts($buffer) {
/* remove comments */
$buffer = preg_replace('!/\*[^*]*\*+([^/][^*]*\*+)*/!', '', $buffer);
/* remove tabs, spaces, newlines, etc. */
$buffer = str_replace(array("\r\n", "\r", "\n", "\t", ' ', ' ', ' '), '', $buffer);
$buffer = str_replace(array(' {','{ '), '{', $buffer);
$buffer = str_replace(array('; '), ';', $buffer);
$buffer = str_replace(array(': '), ':', $buffer);
// $buffer = str_replace(array(' :'), ':', $buffer); /* THIS BREAKS FLYOUT */
$buffer = str_replace(array(';}'), '}', $buffer);
$buffer = str_replace(array(', '), ',', $buffer);
return $buffer;
}
In CSS, Are these rules not equivalent?
Code:
.menu.nav ul :hover ul :hover ul
Code:
.menu.nav ul:hover ul:hover ul
Bookmarks