Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 08-03-2006, 11:15 AM How many css files?
Webmaster Talker

Posts: 626
Trades: 0
I was wondering if it is better to have all CSS in one file or if it is better to have only the CSS applicable to that page? I was thinking of having a few files:

1. All CSS applicable anywhere on the site
2. All CSS applicable to certain sections of the site

What do you guys/gals think?
jim.thornton is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-03-2006, 12:11 PM Re: How many css files?
sameer's Avatar
Super Talker

Posts: 103
Name: Sameer
Location: India
Trades: 0
its better to have seperate files

1. make one file for css which is common to all.
2. then divide remaining css in pagewise sections, put css of each section or page group in seperate files.

advantages :
1. faster loading time as less code requires to be loaded
2. better logical orginazation of the css code as u can find css for particular page group or section in its related file or the common file.
__________________

Please login or register to view this content. Registration is FREE
|

Please login or register to view this content. Registration is FREE
|

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
sameer is offline
Reply With Quote
View Public Profile Visit sameer's homepage!
 
Old 08-03-2006, 12:36 PM Re: How many css files?
Webmaster Talker

Posts: 626
Trades: 0
That's what I was thinking... thanks for confirming it!
jim.thornton is offline
Reply With Quote
View Public Profile
 
Old 08-03-2006, 03:07 PM Re: How many css files?
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Actually, it really doesn't matter and is really a matter of personal preference. If it's easier to keep it all organized by using separate files, then do it that way.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to How many css files?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13135 seconds with 12 queries