Re: [SPAM] Re: [WSG] CSS - How the max size of a .css file

2004-10-21 Thread John Wells
I just tossed my site through that web optimization service 
(http://www.websiteoptimization.com/), and it returned a very peculiar 
review: it counted and weighed every single image being pointed to from 
my CSS file, even though the HTML page that I had it review only used a 
fraction of them.

Which begs the question, when a stylesheet is loaded up by a browser, 
will that browser automatically attempt to load every referenced image, 
regardless of it being called by the HTML file?

I would never have assumed so, but admittedly never gave it any thought 
either. . .

--
Pura Vida
John D Wells
http://www.jdwjr.com
On Oct 20, 2004, at 9:50 PM, Kay Smoljak wrote:
On Wed, 20 Oct 2004 15:36:20 -0200, Genau Junior [EMAIL PROTECTED] 
wrote:
I would like to know, how is the max size of a .css file for a 
website with
a plenty of functionalities and different style pages.
Try running a few sites through
http://www.websiteoptimization.com/services/analyze/ - the analyzer
gives specific recommended sizes for each component of a page (css,
js, html, images), and reasons for each too.
Another useful tool that reports on similar aspects is
http://www.sitereportcard.com/
Cheers,
K.
--
Kay Smoljak
http://kay.smoljak.com/
**
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
**


Re: [SPAM] Re: [WSG] CSS - How the max size of a .css file

2004-10-21 Thread Nick Gleitzman
John Wells wrote:
Which begs the question, when a stylesheet is loaded up by a browser, 
will that browser automatically attempt to load every referenced 
image, regardless of it being called by the HTML file?
This question's come up before - and the answer is... (of course) it 
varies from browser to browser!

Test, test, test.
N
___
Omnivision. Websight.
http://www.omnivision.com.au/
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


Re: [SPAM] Re: [WSG] CSS - How the max size of a .css file

2004-10-21 Thread Genau Junior
Kay,

I appreciated your advice about www.websiteoptimization , but i think that
service its not enougth to analyses if the css and html have the rigth size
or not.
I think that an emphiric and softwarless analisys, can be more useful.




Genau Lopes Júnior
WebDesigner



- Original Message -
From: John Wells [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 21, 2004 8:42 AM
Subject: Re: [SPAM] Re: [WSG] CSS - How the max size of a .css file


 I just tossed my site through that web optimization service
 (http://www.websiteoptimization.com/), and it returned a very peculiar
 review: it counted and weighed every single image being pointed to from
 my CSS file, even though the HTML page that I had it review only used a
 fraction of them.

 Which begs the question, when a stylesheet is loaded up by a browser,
 will that browser automatically attempt to load every referenced image,
 regardless of it being called by the HTML file?

 I would never have assumed so, but admittedly never gave it any thought
 either. . .


 --
 Pura Vida
 John D Wells
 http://www.jdwjr.com
 On Oct 20, 2004, at 9:50 PM, Kay Smoljak wrote:

  On Wed, 20 Oct 2004 15:36:20 -0200, Genau Junior [EMAIL PROTECTED]
  wrote:
  I would like to know, how is the max size of a .css file for a
  website with
  a plenty of functionalities and different style pages.
 
  Try running a few sites through
  http://www.websiteoptimization.com/services/analyze/ - the analyzer
  gives specific recommended sizes for each component of a page (css,
  js, html, images), and reasons for each too.
 
  Another useful tool that reports on similar aspects is
  http://www.sitereportcard.com/
 
  Cheers,
  K.
 
  --
  Kay Smoljak
  http://kay.smoljak.com/
  **
  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
 **





**
The discussion list for  http://webstandardsgroup.org/

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



[WSG] CSS - How the max size of a .css file

2004-10-20 Thread Genau Junior



I would like to know, how is the max size of a .css 
file for a website with a plenty of functionalities and different style 
pages.
I know that this is a hard question, but some 
people may have a different poit of view about an accetable size for loading a 
.css file.

30kb , for example, is a accetable css file 
size?



Genau Lopes Júnior


Re: [WSG] CSS - How the max size of a .css file

2004-10-20 Thread Mordechai Peller
Genau Junior wrote:
I would like to know, how is the max size of a .css file for a website...
 snip /
30kb , for example, is a accetable css file size?
While I don't have a technical answer to your question, I suspect it 
will vary from one browser to the next. From a practical standpoint, 
however, if your CSS file is more than a few K it's too big and probably 
should be broken up into more than one file. For example, a general one 
for a site and a second one for each section. CSS is suppose to reduce 
bloat--not add to it.
**
The discussion list for  http://webstandardsgroup.org/

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


Re: [WSG] CSS - How the max size of a .css file

2004-10-20 Thread Hugh Todd
Genau,
I would say that the old rule of thumb still applies... that to be 
polite to all users of your site, including those on slower dial-up 
connections, your *total* data size for a page (css + html + images) 
should be no larger than 30KB.

You need to take into account, too, the images called on by your CSS, 
which add to the data load.

Having said this, though, one of the beauties of CSS is that it is 
cached by the browser (along with any displayed images), so if you 
think you can get away with requiring people to wait for an initial 
page, subsequent pages will be a lot faster.

-Hugh Todd
I would like to know, how is the max size of a .css file for a website 
with a plenty of functionalities and different style pages.
I know that this is a hard question, but some people may have a 
different poit of view about an accetable size for loading a .css 
file.
 
30kb , for example, is a accetable css file size?
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


RE: [WSG] CSS - How the max size of a .css file

2004-10-20 Thread Dave Rayner

I have yet to crack 10K for a css

Average around 6-8K (and we use CSS for nearly everything)

So unless I'm missing something, 30K seems really big. 


dave rayner
freshweb
www.freshweb.com.au
m. 0409 037 250
p. +61 2 89202344
f. +61 2 89203008 
**
The discussion list for  http://webstandardsgroup.org/

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



Re: [WSG] CSS - How the max size of a .css file

2004-10-20 Thread Kay Smoljak
On Wed, 20 Oct 2004 15:36:20 -0200, Genau Junior [EMAIL PROTECTED] wrote:
 I would like to know, how is the max size of a .css file for a website with
 a plenty of functionalities and different style pages. 

Try running a few sites through
http://www.websiteoptimization.com/services/analyze/ - the analyzer
gives specific recommended sizes for each component of a page (css,
js, html, images), and reasons for each too.

Another useful tool that reports on similar aspects is
http://www.sitereportcard.com/

Cheers,
K.

-- 
Kay Smoljak
http://kay.smoljak.com/
**
The discussion list for  http://webstandardsgroup.org/

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