3 replies [Last post]
seb
Offline
Enthusiast
Last seen: 13 years 9 weeks ago
Joined: 2003-09-20
Posts: 208
Points: 0

Well, I say interesting, depends if you've anything better to do really.

Pick a site, take the homepage, and see how much you can improve it by applying CSS to it.

I took:

and made

[links removed by request]

Previous size was 170KB (40KB code, 130KB images).

Mine is 85KB (19KB code, 1KB stylesheet, 65KB images).

For the images I just optimized them a bit in PSP, and removed the animated GIFs since I didn't feel they gave any useful information and detracted from the site. Only saved 15KB by scrapping the animatics.

So there ya go, CSS can easily halve the weight of a page created in a wysiwyg tool (my guess would be DW for that site, given the proliferation of site tages).

What I've done is far from perfect, but displays almost identically in every browser I've tried and validates as XHTML1.1, whilst saving 50% bandwidth. Took me about 3 hours I guess.

My next step will be to add a style switcher to it to further show the power of CSS.

PS please don't click on any of the links on my version.

- seb

Tags:
seb
Offline
Enthusiast
Last seen: 13 years 9 weeks ago
Joined: 2003-09-20
Posts: 208
Points: 0

Interesting exercise

Interesting timing by me, it seems the main site has been pulled last night Shock

seb
Offline
Enthusiast
Last seen: 13 years 9 weeks ago
Joined: 2003-09-20
Posts: 208
Points: 0

Interesting exercise

And I've just blagged myself as being the new "web guy" for when the website returns Smile Doesn't pay but I don't care.

nix
nix's picture
Offline
Enthusiast
(n): a position or site occupied or available for occupancy or marked by some distinguishing feature
Last seen: 10 years 44 weeks ago
(n): a position or site occupied or available for occupancy or marked by some distinguishing feature
Timezone: GMT-4
Joined: 2003-08-12
Posts: 159
Points: 0

Interesting exercise

seb wrote:
Interesting timing by me, it seems the main site has been pulled last night Shock

Seems to have been down for a while now

I refuse to be like the faceless masses of sheep and have a signatu......awwwwwwwww CRAP!!

Backups? Ha! I've never had troub**&{[}$$ERROR NO CARRIER