I was using Yslow from Yahoo and had a lightbulb moment
Can anyone enlighten me as to what is the best way of going about amalgamating the Style.css Sheet and the 'Blue'.css style Sheet into one single style sheet?
I believe this will make my site load faster
Make one stylesheet
Re: Make one stylesheet
You could do that, transfer all Blue.css lines into Styles.css, but do you think that amalgamating only those two files you will solve your problem with Yslow? If you want to do it, you should do amalgamating with all css and javascript files you have, so you reduce from 30 files to 2, and so does http requests.
Also you should do CSS sprites, cos there are plenty of small images which could be combined to one, and so reduced number of http requests.
Reduce the number of css lines by combining similar ones, use default styles (a, p, h2, h3, h4...) as much as possible. (example: Left and right side are divided, you could combine them to remove 1/2 of this css code).
To get better score on Yslow you will have to do a lot of work, cos Interspire didn't focus on design and optimization of their templates.
Also you should do CSS sprites, cos there are plenty of small images which could be combined to one, and so reduced number of http requests.
Reduce the number of css lines by combining similar ones, use default styles (a, p, h2, h3, h4...) as much as possible. (example: Left and right side are divided, you could combine them to remove 1/2 of this css code).
To get better score on Yslow you will have to do a lot of work, cos Interspire didn't focus on design and optimization of their templates.
Need custom coding for Interspire Shopping Cart? Contact me
-
- Posts: 744
- Joined: Thu Jun 18, 2009 8:59 am
Re: Make one stylesheet
I looked into CSS sprites a bit ago, really neat idea, but really couldn't be bothered for ISC..!
Re: Make one stylesheet
I read somewhere a "tip" for optimizing...
Remove all unnecessary tab spaces and comments from your html and css files
Remove all unnecessary tab spaces and comments from your html and css files

Need custom coding for Interspire Shopping Cart? Contact me
-
- Posts: 744
- Joined: Thu Jun 18, 2009 8:59 am
Re: Make one stylesheet
Sounds like a plan



Re: Make one stylesheet
Painstik wrote:You could do that, transfer all Blue.css lines into Styles.css, but do you think that amalgamating only those two files you will solve your problem with Yslow? If you want to do it, you should do amalgamating with all css and javascript files you have, so you reduce from 30 files to 2, and so does http requests.
Also you should do CSS sprites, cos there are plenty of small images which could be combined to one, and so reduced number of http requests.
Reduce the number of css lines by combining similar ones, use default styles (a, p, h2, h3, h4...) as much as possible. (example: Left and right side are divided, you could combine them to remove 1/2 of this css code).
To get better score on Yslow you will have to do a lot of work, cos Interspire didn't focus on design and optimization of their templates.
So .... how would you combine all the Java Files - would you know?
-
- Confirmed
- Posts: 413
- Joined: Sun Aug 09, 2009 1:23 pm
Re: Make one stylesheet
It certainly makes things easier when editing a SINGLE stylesheet instead of two.Iamdbat wrote:I was using Yslow from Yahoo and had a lightbulb moment
Can anyone enlighten me as to what is the best way of going about amalgamating the Style.css Sheet and the 'Blue'.css style Sheet into one single style sheet?
I believe this will make my site load faster
ISC 4.0.7
"... and let's be honest that whole "by design" thing is getting old too."
"... and let's be honest that whole "by design" thing is getting old too."