Jump to content

YUI CSS Reset and css_files


Recommended Posts

Would this change break anything?

diff --git a/header.php b/header.php
index 876a40f..7502c3b 100644
--- a/header.php
+++ b/header.php
[spam-filter] -6,8 +6,11 [spam-filter] header('P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"');
require_once(dirname(__FILE__).'/init.php');

/* CSS */
-$css_files[_THEME_CSS_DIR_.'global.css'] = 'all';
-
+$css_files = array(
+       _THEME_CSS_DIR_.'reset-min.css' => 'all',
+       _THEME_CSS_DIR_.'global.css' => 'all'



or for production:

diff --git a/header.php b/header.php
index 876a40f..1c7554c 100644
--- a/header.php
+++ b/header.php
[spam-filter] -6,8 +6,11 [spam-filter] header('P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"');
require_once(dirname(__FILE__).'/init.php');

/* CSS */
-$css_files[_THEME_CSS_DIR_.'global.css'] = 'all';
-
+$css_files = array(
+       'http://yui.yahooapis.com/3.0.0/build/cssreset/reset-min.css' => 'all',
+       _THEME_CSS_DIR_.'global.css' => 'all'

Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...