Hi, this is really a dumb question, but I reli need 2 know this.
I have an external CSS stylesheet containing EVERYTHING for my WHOLE site.
It is nearing 10KB, and I guarantee it will double pretty soon.
Is this going to be fatal? or as it is a download-once file, will it be ok? Plz dont say remove whitespace, or comments, as when i program, I never put those in anyway.
It is literally as compact as a diamond.
Any info on this subject would be greatly appreciated, thanks in advance.







calculator posted this at 20:18—26th November 2007.
They have: 40 posts
Joined: Nov 2007
I've got one that is 19 Kb on a site and there is no problem loading it. Although the site is very large with loads of different sections requiring their own style.
Could I ask if you used css shorthand? Also did you use the least number of id's and names required?
On the 19Kb one I used to have #wrapper #left #subleft - where #subleft was enough. Off course sometimes it requires overwriting a precedent rule which needs the addition of selectors.
Websites for Accountants
Reece S posted this at 20:53—26th November 2007.
He has: 169 posts
Joined: Oct 2007
Yes, I did. like if I wanted to style the menu, it would go like this:..
#lpanel_menu{
PROPERTIES
}
Problem is I have around 2 dozen of these, lol.
Its ok, i managed to shrink it to 6 KB, but it luks a prat and it is harder to edit, but that is just one of those things.
Thanks for the reply, very grateful.