navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

size of css file - does it matter?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets >> size of css file - does it matter?
Page: [1]
 
kt

 

Posts: 195
Joined: 11/3/2004
Status: offline

 
size of css file - does it matter? - 6/13/2005 16:35:00   
Hi all

Does the size of my css file make any difference to the pageload time?

i.e. if my css is 300 lines long, will it take longer than if it's 50 lines long?

thanks, kt

dpf

 

Posts: 7126
Joined: 11/12/2003
From: India-napolis
Status: offline

 
RE: size of css file - does it matter? - 6/13/2005 16:50:36   
yes it will take longer but - it shouldnt mean a thing since it is only text - it should make an insignificant difference in download times - and remember, if multiple pages link to it, it is only downloaded once.

_____________________________

Dan

(in reply to kt)
kt

 

Posts: 195
Joined: 11/3/2004
Status: offline

 
RE: size of css file - does it matter? - 6/15/2005 17:30:40   
thanks dan

kt

(in reply to dpf)
Tailslide

 

Posts: 6267
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: size of css file - does it matter? - 6/16/2005 2:57:34   
Hi KT

If you're really worried then you can optimise the CSS a bit (if you haven't already).

so this:

#div1
        {background-color: #ffffff;
          color: #666666;
          }


Becomes this:

#div 1 {background-color: #fff; color: #666;}


It can help reduce the overall file size although it can make it harder to read so inserting CSS comments and or making sure you put related stuff together can help a lot.


_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to kt)
kt

 

Posts: 195
Joined: 11/3/2004
Status: offline

 
RE: size of css file - does it matter? - 6/19/2005 11:04:48   
thanks tailslide - will see what I can do.

kt

(in reply to Tailslide)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> size of css file - does it matter?
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts