It is a double edged sword. If you split your CSS sheet into multiple
sheets for each page then you will only be making the user download
what they need, but if they visit all the pages they will probably
need to download more in total. That 10k will add about 2 seconds to
the initial load of your page on 56k though...

The best bet is to make a main style sheet with a specialised style
sheet for each page.

Lloyd

On 11/11/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hey folks!
>
> I'm working on a project where nearly every web page differs from each
> other in layout. Due to the nature of the project, it is a blend of admin
> and report system, with a lot of configurations and various styled
> reports. This has made my CSS file nearly 10kb large and consists of
> nearly 600 rows of CSS code. Is this a problem in general? Are there any
> issues regarding large CSS files? Any recomendations for CSS file sizes
> both in KB and rows.
>
> This is my first larger project, so maybe it is just me that's not used
> to, what I consider extremly large CSS files.
>
> My second question is about CSS selector naming and problems regarding
> various naming styles. Are there any problems with the naming styles below
> or is this just something I've got totally wrong? I've heard that you
> should avoid underscore and mixing small (lower case) and large letters
> (upper case).
>
> #btn_save
> .row_color1
>
> #btnSave
> #salesTable
>
> #btnsave (always work, but is just so hard to read)
>
> Thanks in advance!
>
> Best regards
> Jorgen Nilsson
> ******************************************************
> The discussion list for  http://webstandardsgroup.org/
>
>  See http://webstandardsgroup.org/mail/guidelines.cfm
>  for some hints on posting to the list & getting help
> ******************************************************
>
>
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to