Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
08-02-2011, 10:41 PM #1
When does a CSS stylesheet become too long?
I know the maximum is 64,000 characters but what is an optimum range before slowing down a site? I'm sure it all depends on the styles but there has to be a healthy range. I'm currently working with 12,410 characters (before minimizing) and 120 styles. Should I try to break it up into additional stylesheets for pages that don't use every style?
08-03-2011, 01:38 AM #2
- Join Date
- Jan 2006
- Halle (Saale), Germany
- Thanked 981 Times in 954 Posts
I’ve never heard of a character limit but you should rather look at the file size. If a stylesheet exceeds 20 or so kilobytes it’s probably better to split it.
08-03-2011, 01:41 AM #3