Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Separate stylesheets versus one big stylesheet:Which is best?

Reply
Thread Tools

Separate stylesheets versus one big stylesheet:Which is best?

 
 
brucie
Guest
Posts: n/a
 
      10-13-2004
In alt.html SpaceGirl said:

> http://digitalharmony.no-ip.com/subh...css/screen.css
> It's *really* bloated an unoptomised at the moment


its really 404 at the moment

--


v o i c e s
 
Reply With Quote
 
 
 
 
Dylan Parry
Guest
Posts: n/a
 
      10-13-2004
As an authority on the subject, SpaceGirl proclaimed:

> Take a look at the one for my site:
> http://digitalharmony.no-ip.com/subh...css/screen.css
> It's *really* bloated an unoptomised at the moment


I assume you really meant
http://digitalharmony.no-ip.com/subhuman10/css/ui.css ?

Yep, that's truly yucky looking CSS

--
Dylan Parry
http://webpageworkshop.co.uk - FREE Web tutorials and references


 
Reply With Quote
 
 
 
 
brucie
Guest
Posts: n/a
 
      10-13-2004
In alt.html Deryck said:

> Brucie, do you ever sleep?


my species has evolved beyond the need for it and i can assure you the
amphetamine lab in the shed has absolutely nothing to do with it.

--


v o i c e s
 
Reply With Quote
 
brucie
Guest
Posts: n/a
 
      10-13-2004
In alt.html Dylan Parry said:

>> http://digitalharmony.no-ip.com/subh...css/screen.css
>> It's *really* bloated an unoptomised at the moment


> I assume you really meant
> http://digitalharmony.no-ip.com/subhuman10/css/ui.css ?


holy ****.


--


v o i c e s
 
Reply With Quote
 
SpaceGirl
Guest
Posts: n/a
 
      10-13-2004
brucie wrote:
> In alt.html Dylan Parry said:
>
>
>>>http://digitalharmony.no-ip.com/subh...css/screen.css
>>>It's *really* bloated an unoptomised at the moment

>
>
>>I assume you really meant
>>http://digitalharmony.no-ip.com/subhuman10/css/ui.css ?

>
>
> holy ****.
>
>


It is actually fairly efficient if you step through it, but I've not
tried. There's only one chunk of IE specific stuff in there (scrollbars)
which I may dump anyway.

I'd be interested if an expert could crush it down to something smaller
though

--


x theSpaceGirl (miranda)

# lead designer @ http://www.dhnewmedia.com #
# remove NO SPAM to email, or use form on website #
 
Reply With Quote
 
Karl Core
Guest
Posts: n/a
 
      10-13-2004

"SpaceGirl" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> brucie wrote:
>> In alt.html SpaceGirl said:
>>
>>
>>>You also have the whole IP overhead thing to think about. Say a user is
>>>on a slow connection. It might take them 5 seconds to download 5kb. Add
>>>to that 10% overhead for HTTP headers and IP stuff.

>>
>>
>> what the hell are you putting in your CSS? with even my most complex its
>> rare for them to be over 1k.

>
> If you build a complex site and use 100% CSS, it soon bloats. Our
> application site has an 11kb CSS file. My pet "garbage" site has a 4kb
> one.


I have one that is 14kb, but none of my other style sheets are over 6kb, and
almost all of my sites are 100% CSS for presentation.

-Karl


 
Reply With Quote
 
Toby Inkster
Guest
Posts: n/a
 
      10-14-2004
brucie wrote:

> what the hell are you putting in your CSS? with even my most complex its
> rare for them to be over 1k.


[tai@ophelia tobyinkster.co.uk]$ find styles/ | grep 'css$' | grep -v OLD | xargs ls -lG
-rw-r--r-- 1 tai 1373 Oct 7 07:35 styles/artistic/1996.css
-rw-r--r-- 1 tai 1683 Oct 7 07:36 styles/artistic/flower2.css
-rw-r--r-- 1 tai 1686 Oct 7 07:36 styles/artistic/flower.css
-rw-r--r-- 1 tai 1688 May 22 18:00 styles/artistic/modern2/common.css
-rw-r--r-- 1 tai 2167 Oct 7 07:33 styles/artistic/modern2.css
-rw-r--r-- 1 tai 1221 Oct 7 07:36 styles/artistic/saturn.css
-rw-r--r-- 1 tai 798 Oct 7 07:36 styles/artistic/wheat.css
-rw-r--r-- 1 tai 361 Sep 9 12:39 styles/colours/amber_on_black.css
-rw-r--r-- 1 tai 458 Sep 9 12:39 styles/colours/aquatic.css
-rw-r--r-- 1 tai 531 Sep 9 12:38 styles/colours/black_on_grey.css
-rw-r--r-- 1 tai 531 Sep 9 12:38 styles/colours/black_on_offwhite.css
-rw-r--r-- 1 tai 533 Sep 9 12:38 styles/colours/black_on_white.css
-rw-r--r-- 1 tai 364 Sep 9 12:38 styles/colours/green_on_black.css
-rw-r--r-- 1 tai 33 Mar 17 2004 styles/colours/off.css
-rw-r--r-- 1 tai 576 Aug 22 18:06 styles/fonts/mixed.css
-rw-r--r-- 1 tai 0 Mar 8 2004 styles/fonts/off.css
-rw-r--r-- 1 tai 407 Aug 15 17:12 styles/fonts/sans.css
-rw-r--r-- 1 tai 403 Aug 15 17:12 styles/fonts/serif.css
-rw-r--r-- 1 tai 0 Mar 8 2004 styles/layouts/off.css
-rw-r--r-- 1 tai 639 Oct 10 10:49 styles/layouts/one_column.css
-rw-r--r-- 1 tai 2427 Oct 13 23:59 styles/layouts/two_columns.css
-rw-r--r-- 1 tai 482 Aug 26 07:34 styles/multimedia.css

Fourth column is file sizes.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 
Reply With Quote
 
brucie
Guest
Posts: n/a
 
      10-14-2004
In alt.html Toby Inkster said:

>> what the hell are you putting in your CSS? with even my most complex its
>> rare for them to be over 1k.


> [tai@ophelia tobyinkster.co.uk]$ find styles/ | grep 'css$' | grep -v OLD | xargs ls -lG
> -rw-r--r-- 1 tai 1373 Oct 7 07:35 styles/artistic/1996.css
> -rw-r--r-- 1 tai 1683 Oct 7 07:36 styles/artistic/flower2.css
> -rw-r--r-- 1 tai 1686 Oct 7 07:36 styles/artistic/flower.css
> [ etc etc ]


my authoring style is much more compact.

> -rw-r--r-- 1 tai 1688 May 22 18:00 styles/artistic/modern2/common.css


this is closer but i'd go further.

--


v o i c e s
 
Reply With Quote
 
rf
Guest
Posts: n/a
 
      10-14-2004
SpaceGirl

> >>http://digitalharmony.no-ip.com/subhuman10/css/ui.css ?


Oh my.

> I'd be interested if an expert could crush it down to something smaller
> though


Since nobody else took up the gauntlet and as I do have a spare 10 minutes
right now I decided to have a go.

Until I looked at the HTML.

Sorry miranda but there is no point in playing with a CSS file that is
styling a broken HTML file.

Yep, unfortunately, broken.

http://users.bigpond.net.au/rf/garbage.jpg

Scroll down and note the position of the horizontal scroll bar.

This page needs a major overhaul to fix all the problems, the incorrectly
centred content, the text escaping out of the absolutely positioned divs
and, IHMO, the bloody annoying scrolling divs

The font size in pixels should also be removed for the benifit of IE users.

These fixes would of course totally invalidate the current CSS file which
would probably need rewriting from the ground up, but only *after* the
content is sorted out.

--
Cheers
Richard.


 
Reply With Quote
 
brucie
Guest
Posts: n/a
 
      10-14-2004
In alt.html rf said:

>> I'd be interested if an expert could crush it down to something smaller
>> though


> Since nobody else took up the gauntlet and as I do have a spare 10 minutes
> right now I decided to have a go.


my excuses:

1. when the request came in it was too late at night.
2. payday so it was shopping for food 'n **** day.
3. burst irrigation pipe.

busy day, i only had time to quickly pop in to see what was happening
and run off again.

really!

very busy tomorrow:

things to get:

900 meters 3.5mm fencing wire.
100 meters 115mm dog fence.
2 bundles of star pickets (20).
100 meters 1 1/4 inch poly pipe.
200 meters 1 inch poly pipe.
various poly connectors.
1 bag dog bones.
300 litters petrol.
2 45kg bottles gas.

then i have to do stuff with all the **** purchased or at least think
about doing **** with all the stuff purchased.

> Sorry miranda but there is no point in playing with a CSS file that is
> styling a broken HTML file.


true

> http://users.bigpond.net.au/rf/garbage.jpg


2 seconds. weeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee!

> This page needs a major overhaul to fix all the problems,


yes

> These fixes would of course totally invalidate the current CSS file


yes

> which would probably need rewriting from the ground up,


yes

> but only *after* the content is sorted out.


yes


--


v o i c e s
 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GIDS 2009 Java:: Save Big, Win Big, Learn Big: Act Before Dec 29 2008 Shaguf Python 0 12-24-2008 07:35 AM
Re: Mozilla versus IE versus Opera versus Safari Peter Potamus the Purple Hippo Firefox 0 05-08-2008 12:56 PM
equal? versus eql? versus == versus === verus <=> Paul Butcher Ruby 12 11-28-2007 06:06 AM
TV screens big versus Small LCD versus Plasma. Little Green Eyed Dragon Digital Photography 0 03-02-2007 08:04 PM
How to use several separate classes (separate files) to be executed in one class (another file) EvgueniB Java 1 12-15-2003 01:18 AM



Advertisments